Class ServiceInstance
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceInstance.Builder,ServiceInstance>
Detailed data of an Proton service instance resource.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the service instance.static ServiceInstance.Builderbuilder()final InstantThe time when the service instance was created.final DeploymentStatusThe service instance deployment status.final StringThe service instance deployment status.final StringThe message associated with the service instance deployment status.final StringThe name of the environment that the service instance was deployed into.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the last attempted deployment of this service instance.final StringThe last client request token received.final InstantThe time when a deployment of the service instance was last attempted.final InstantThe time when the service instance was last deployed successfully.final StringThe ID of the last successful deployment of this service instance.final Stringname()The name of the service instance.static Class<? extends ServiceInstance.Builder> final StringThe name of the service that the service instance belongs to.final Stringspec()The service spec that was used to create the service instance.final StringThe major version of the service template that was used to create the service instance.final StringThe minor version of the service template that was used to create the service instance.final StringThe name of the service template that was used to create the service instance.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the service instance.
- Returns:
- The Amazon Resource Name (ARN) of the service instance.
-
createdAt
The time when the service instance was created.
- Returns:
- The time when the service instance was created.
-
deploymentStatus
The service instance deployment status.
If the service returns an enum value that is not available in the current SDK version,
deploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStatusAsString().- Returns:
- The service instance deployment status.
- See Also:
-
deploymentStatusAsString
The service instance deployment status.
If the service returns an enum value that is not available in the current SDK version,
deploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStatusAsString().- Returns:
- The service instance deployment status.
- See Also:
-
deploymentStatusMessage
The message associated with the service instance deployment status.
- Returns:
- The message associated with the service instance deployment status.
-
environmentName
The name of the environment that the service instance was deployed into.
- Returns:
- The name of the environment that the service instance was deployed into.
-
lastAttemptedDeploymentId
The ID of the last attempted deployment of this service instance.
- Returns:
- The ID of the last attempted deployment of this service instance.
-
lastClientRequestToken
The last client request token received.
- Returns:
- The last client request token received.
-
lastDeploymentAttemptedAt
The time when a deployment of the service instance was last attempted.
- Returns:
- The time when a deployment of the service instance was last attempted.
-
lastDeploymentSucceededAt
The time when the service instance was last deployed successfully.
- Returns:
- The time when the service instance was last deployed successfully.
-
lastSucceededDeploymentId
The ID of the last successful deployment of this service instance.
- Returns:
- The ID of the last successful deployment of this service instance.
-
name
The name of the service instance.
- Returns:
- The name of the service instance.
-
serviceName
The name of the service that the service instance belongs to.
- Returns:
- The name of the service that the service instance belongs to.
-
spec
The service spec that was used to create the service instance.
- Returns:
- The service spec that was used to create the service instance.
-
templateMajorVersion
The major version of the service template that was used to create the service instance.
- Returns:
- The major version of the service template that was used to create the service instance.
-
templateMinorVersion
The minor version of the service template that was used to create the service instance.
- Returns:
- The minor version of the service template that was used to create the service instance.
-
templateName
The name of the service template that was used to create the service instance.
- Returns:
- The name of the service template that was used to create the service instance.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceInstance.Builder,ServiceInstance> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-