Class ComponentSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ComponentSummary.Builder,ComponentSummary>
Summary data of an Proton component resource.
For more information about components, see Proton components in the Proton User Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the component.static ComponentSummary.Builderbuilder()final InstantThe time when the component was created.final DeploymentStatusThe component deployment status.final StringThe component deployment status.final StringThe message associated with the component deployment status.final StringThe name of the Proton environment that this component is associated with.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 component.final InstantThe time when a deployment of the component was last attempted.final InstantThe time when the component was last deployed successfully.final InstantThe time when the component was last modified.final StringThe ID of the last successful deployment of this component.final Stringname()The name of the component.static Class<? extends ComponentSummary.Builder> final StringThe name of the service instance that this component is attached to.final StringThe name of the service thatserviceInstanceNameis associated with.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 component.
- Returns:
- The Amazon Resource Name (ARN) of the component.
-
createdAt
The time when the component was created.
- Returns:
- The time when the component was created.
-
deploymentStatus
The component 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 component deployment status.
- See Also:
-
deploymentStatusAsString
The component 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 component deployment status.
- See Also:
-
deploymentStatusMessage
The message associated with the component deployment status.
- Returns:
- The message associated with the component deployment status.
-
environmentName
The name of the Proton environment that this component is associated with.
- Returns:
- The name of the Proton environment that this component is associated with.
-
lastAttemptedDeploymentId
The ID of the last attempted deployment of this component.
- Returns:
- The ID of the last attempted deployment of this component.
-
lastDeploymentAttemptedAt
The time when a deployment of the component was last attempted.
- Returns:
- The time when a deployment of the component was last attempted.
-
lastDeploymentSucceededAt
The time when the component was last deployed successfully.
- Returns:
- The time when the component was last deployed successfully.
-
lastModifiedAt
The time when the component was last modified.
- Returns:
- The time when the component was last modified.
-
lastSucceededDeploymentId
The ID of the last successful deployment of this component.
- Returns:
- The ID of the last successful deployment of this component.
-
name
-
serviceInstanceName
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
- Returns:
- The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
-
serviceName
The name of the service that
serviceInstanceNameis associated with. Provided when a component is attached to a service instance.- Returns:
- The name of the service that
serviceInstanceNameis associated with. Provided when a component is attached to a 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<ComponentSummary.Builder,ComponentSummary> - 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-