@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEndpointResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEndpointResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEndpointResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
A timestamp that shows when the endpoint was created.
|
String |
getEndpointArn()
The Amazon Resource Name (ARN) of the endpoint.
|
String |
getEndpointConfigName()
The name of the endpoint configuration associated with this endpoint.
|
String |
getEndpointName()
Name of the endpoint.
|
String |
getEndpointStatus()
The status of the endpoint.
|
String |
getFailureReason()
If the status of the endpoint is
Failed , the reason why it failed. |
Date |
getLastModifiedTime()
A timestamp that shows when the endpoint was last modified.
|
List<ProductionVariantSummary> |
getProductionVariants()
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
|
int |
hashCode() |
void |
setCreationTime(Date creationTime)
A timestamp that shows when the endpoint was created.
|
void |
setEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
|
void |
setEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration associated with this endpoint.
|
void |
setEndpointName(String endpointName)
Name of the endpoint.
|
void |
setEndpointStatus(String endpointStatus)
The status of the endpoint.
|
void |
setFailureReason(String failureReason)
If the status of the endpoint is
Failed , the reason why it failed. |
void |
setLastModifiedTime(Date lastModifiedTime)
A timestamp that shows when the endpoint was last modified.
|
void |
setProductionVariants(Collection<ProductionVariantSummary> productionVariants)
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeEndpointResult |
withCreationTime(Date creationTime)
A timestamp that shows when the endpoint was created.
|
DescribeEndpointResult |
withEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
|
DescribeEndpointResult |
withEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration associated with this endpoint.
|
DescribeEndpointResult |
withEndpointName(String endpointName)
Name of the endpoint.
|
DescribeEndpointResult |
withEndpointStatus(EndpointStatus endpointStatus)
The status of the endpoint.
|
DescribeEndpointResult |
withEndpointStatus(String endpointStatus)
The status of the endpoint.
|
DescribeEndpointResult |
withFailureReason(String failureReason)
If the status of the endpoint is
Failed , the reason why it failed. |
DescribeEndpointResult |
withLastModifiedTime(Date lastModifiedTime)
A timestamp that shows when the endpoint was last modified.
|
DescribeEndpointResult |
withProductionVariants(Collection<ProductionVariantSummary> productionVariants)
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
|
DescribeEndpointResult |
withProductionVariants(ProductionVariantSummary... productionVariants)
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setEndpointName(String endpointName)
Name of the endpoint.
endpointName
- Name of the endpoint.public String getEndpointName()
Name of the endpoint.
public DescribeEndpointResult withEndpointName(String endpointName)
Name of the endpoint.
endpointName
- Name of the endpoint.public void setEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
endpointArn
- The Amazon Resource Name (ARN) of the endpoint.public String getEndpointArn()
The Amazon Resource Name (ARN) of the endpoint.
public DescribeEndpointResult withEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
endpointArn
- The Amazon Resource Name (ARN) of the endpoint.public void setEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration associated with this endpoint.
endpointConfigName
- The name of the endpoint configuration associated with this endpoint.public String getEndpointConfigName()
The name of the endpoint configuration associated with this endpoint.
public DescribeEndpointResult withEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration associated with this endpoint.
endpointConfigName
- The name of the endpoint configuration associated with this endpoint.public List<ProductionVariantSummary> getProductionVariants()
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
public void setProductionVariants(Collection<ProductionVariantSummary> productionVariants)
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
productionVariants
- An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.public DescribeEndpointResult withProductionVariants(ProductionVariantSummary... productionVariants)
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setProductionVariants(java.util.Collection)
or withProductionVariants(java.util.Collection)
if
you want to override the existing values.
productionVariants
- An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.public DescribeEndpointResult withProductionVariants(Collection<ProductionVariantSummary> productionVariants)
An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.
productionVariants
- An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.public void setEndpointStatus(String endpointStatus)
The status of the endpoint.
endpointStatus
- The status of the endpoint.EndpointStatus
public String getEndpointStatus()
The status of the endpoint.
EndpointStatus
public DescribeEndpointResult withEndpointStatus(String endpointStatus)
The status of the endpoint.
endpointStatus
- The status of the endpoint.EndpointStatus
public DescribeEndpointResult withEndpointStatus(EndpointStatus endpointStatus)
The status of the endpoint.
endpointStatus
- The status of the endpoint.EndpointStatus
public void setFailureReason(String failureReason)
If the status of the endpoint is Failed
, the reason why it failed.
failureReason
- If the status of the endpoint is Failed
, the reason why it failed.public String getFailureReason()
If the status of the endpoint is Failed
, the reason why it failed.
Failed
, the reason why it failed.public DescribeEndpointResult withFailureReason(String failureReason)
If the status of the endpoint is Failed
, the reason why it failed.
failureReason
- If the status of the endpoint is Failed
, the reason why it failed.public void setCreationTime(Date creationTime)
A timestamp that shows when the endpoint was created.
creationTime
- A timestamp that shows when the endpoint was created.public Date getCreationTime()
A timestamp that shows when the endpoint was created.
public DescribeEndpointResult withCreationTime(Date creationTime)
A timestamp that shows when the endpoint was created.
creationTime
- A timestamp that shows when the endpoint was created.public void setLastModifiedTime(Date lastModifiedTime)
A timestamp that shows when the endpoint was last modified.
lastModifiedTime
- A timestamp that shows when the endpoint was last modified.public Date getLastModifiedTime()
A timestamp that shows when the endpoint was last modified.
public DescribeEndpointResult withLastModifiedTime(Date lastModifiedTime)
A timestamp that shows when the endpoint was last modified.
lastModifiedTime
- A timestamp that shows when the endpoint was last modified.public String toString()
toString
in class Object
Object.toString()
public DescribeEndpointResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.