@Generated(value="software.amazon.awssdk:codegen") public final class Component extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Component.Builder,Component>
Detailed data of an Proton component resource.
For more information about components, see Proton components in the Proton User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Component.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the component.
|
static Component.Builder |
builder() |
Instant |
createdAt()
The time when the component was created.
|
DeploymentStatus |
deploymentStatus()
The component deployment status.
|
String |
deploymentStatusAsString()
The component deployment status.
|
String |
deploymentStatusMessage()
The message associated with the component deployment status.
|
String |
description()
A description of the component.
|
String |
environmentName()
The name of the Proton environment that this component is associated with.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastAttemptedDeploymentId()
The ID of the last attempted deployment of this component.
|
String |
lastClientRequestToken()
The last token the client requested.
|
Instant |
lastDeploymentAttemptedAt()
The time when a deployment of the component was last attempted.
|
Instant |
lastDeploymentSucceededAt()
The time when the component was last deployed successfully.
|
Instant |
lastModifiedAt()
The time when the component was last modified.
|
String |
lastSucceededDeploymentId()
The ID of the last successful deployment of this component.
|
String |
name()
The name of the component.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Component.Builder> |
serializableBuilderClass() |
String |
serviceInstanceName()
The name of the service instance that this component is attached to.
|
String |
serviceName()
The name of the service that
serviceInstanceName is associated with. |
String |
serviceSpec()
The service spec that the component uses to access service inputs.
|
Component.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the component.
public final Instant createdAt()
The time when the component was created.
public final DeploymentStatus deploymentStatus()
The component deployment status.
If the service returns an enum value that is not available in the current SDK version, deploymentStatus
will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deploymentStatusAsString().
DeploymentStatuspublic final String deploymentStatusAsString()
The component deployment status.
If the service returns an enum value that is not available in the current SDK version, deploymentStatus
will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deploymentStatusAsString().
DeploymentStatuspublic final String deploymentStatusMessage()
The message associated with the component deployment status.
public final String description()
A description of the component.
public final String environmentName()
The name of the Proton environment that this component is associated with.
public final String lastAttemptedDeploymentId()
The ID of the last attempted deployment of this component.
public final String lastClientRequestToken()
The last token the client requested.
public final Instant lastDeploymentAttemptedAt()
The time when a deployment of the component was last attempted.
public final Instant lastDeploymentSucceededAt()
The time when the component was last deployed successfully.
public final Instant lastModifiedAt()
The time when the component was last modified.
public final String lastSucceededDeploymentId()
The ID of the last successful deployment of this component.
public final String name()
The name of the component.
public final String serviceInstanceName()
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
public final String serviceName()
The name of the service that serviceInstanceName is associated with. Provided when a component is
attached to a service instance.
serviceInstanceName is associated with. Provided when a
component is attached to a service instance.public final String serviceSpec()
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
public Component.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Component.Builder,Component>public static Component.Builder builder()
public static Class<? extends Component.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.