共用方式為


EndpointInfo Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EndpointInfo

public class EndpointInfo

The base class "ProductionOrStagingEndpointInfo" inherits from.

Method Summary

Modifier and Type Method and Description
String assignedEndpointKey()

Get the assignedEndpointKey value.

String endpointRegion()

Get the endpointRegion value.

String endpointUrl()

Get the endpointUrl value.

String failedRegions()

Get the failedRegions value.

Boolean isStaging()

Get the isStaging value.

String publishedDateTime()

Get the publishedDateTime value.

String region()

Get the region value.

String versionId()

Get the versionId value.

EndpointInfo withAssignedEndpointKey(String assignedEndpointKey)

Set the assignedEndpointKey value.

EndpointInfo withEndpointRegion(String endpointRegion)

Set the endpointRegion value.

EndpointInfo withEndpointUrl(String endpointUrl)

Set the endpointUrl value.

EndpointInfo withFailedRegions(String failedRegions)

Set the failedRegions value.

EndpointInfo withIsStaging(Boolean isStaging)

Set the isStaging value.

EndpointInfo withPublishedDateTime(String publishedDateTime)

Set the publishedDateTime value.

EndpointInfo withRegion(String region)

Set the region value.

EndpointInfo withVersionId(String versionId)

Set the versionId value.

Method Details

assignedEndpointKey

public String assignedEndpointKey()

Get the assignedEndpointKey value.

Returns:

the assignedEndpointKey value

endpointRegion

public String endpointRegion()

Get the endpointRegion value.

Returns:

the endpointRegion value

endpointUrl

public String endpointUrl()

Get the endpointUrl value.

Returns:

the endpointUrl value

failedRegions

public String failedRegions()

Get the failedRegions value.

Returns:

the failedRegions value

isStaging

public Boolean isStaging()

Get the isStaging value.

Returns:

the isStaging value

publishedDateTime

public String publishedDateTime()

Get the publishedDateTime value.

Returns:

the publishedDateTime value

region

public String region()

Get the region value.

Returns:

the region value

versionId

public String versionId()

Get the versionId value.

Returns:

the versionId value

withAssignedEndpointKey

public EndpointInfo withAssignedEndpointKey(String assignedEndpointKey)

Set the assignedEndpointKey value.

Parameters:

assignedEndpointKey - the assignedEndpointKey value to set

Returns:

the EndpointInfo object itself.

withEndpointRegion

public EndpointInfo withEndpointRegion(String endpointRegion)

Set the endpointRegion value.

Parameters:

endpointRegion - the endpointRegion value to set

Returns:

the EndpointInfo object itself.

withEndpointUrl

public EndpointInfo withEndpointUrl(String endpointUrl)

Set the endpointUrl value.

Parameters:

endpointUrl - the endpointUrl value to set

Returns:

the EndpointInfo object itself.

withFailedRegions

public EndpointInfo withFailedRegions(String failedRegions)

Set the failedRegions value.

Parameters:

failedRegions - the failedRegions value to set

Returns:

the EndpointInfo object itself.

withIsStaging

public EndpointInfo withIsStaging(Boolean isStaging)

Set the isStaging value.

Parameters:

isStaging - the isStaging value to set

Returns:

the EndpointInfo object itself.

withPublishedDateTime

public EndpointInfo withPublishedDateTime(String publishedDateTime)

Set the publishedDateTime value.

Parameters:

publishedDateTime - the publishedDateTime value to set

Returns:

the EndpointInfo object itself.

withRegion

public EndpointInfo withRegion(String region)

Set the region value.

Parameters:

region - the region value to set

Returns:

the EndpointInfo object itself.

withVersionId

public EndpointInfo withVersionId(String versionId)

Set the versionId value.

Parameters:

versionId - the versionId value to set

Returns:

the EndpointInfo object itself.

Applies to