Class DeploymentData
- java.lang.Object
-
- software.amazon.awssdk.services.launchwizard.model.DeploymentData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeploymentData.Builder,DeploymentData>
@Generated("software.amazon.awssdk:codegen") public final class DeploymentData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentData.Builder,DeploymentData>
The data associated with a deployment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeploymentData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentData.Builderbuilder()InstantcreatedAt()The time the deployment was created.InstantdeletedAt()The time the deployment was deleted.StringdeploymentArn()The Amazon Resource Name (ARN) of the deployment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSpecifications()For responses, this returns true if the service returned a value for the Specifications property.booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.Stringid()The ID of the deployment.Stringname()The name of the deployment.StringpatternName()The pattern name of the deployment.StringresourceGroup()The resource group of the deployment.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeploymentData.Builder>serializableBuilderClass()Map<String,String>specifications()The settings specified for the deployment.DeploymentStatusstatus()The status of the deployment.StringstatusAsString()The status of the deployment.Map<String,String>tags()Information about the tags attached to a deployment.DeploymentData.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkloadName()The name of the workload.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
createdAt
public final Instant createdAt()
The time the deployment was created.
- Returns:
- The time the deployment was created.
-
deletedAt
public final Instant deletedAt()
The time the deployment was deleted.
- Returns:
- The time the deployment was deleted.
-
deploymentArn
public final String deploymentArn()
The Amazon Resource Name (ARN) of the deployment.
- Returns:
- The Amazon Resource Name (ARN) of the deployment.
-
id
public final String id()
The ID of the deployment.
- Returns:
- The ID of the deployment.
-
name
public final String name()
The name of the deployment.
- Returns:
- The name of the deployment.
-
patternName
public final String patternName()
The pattern name of the deployment.
- Returns:
- The pattern name of the deployment.
-
resourceGroup
public final String resourceGroup()
The resource group of the deployment.
- Returns:
- The resource group of the deployment.
-
hasSpecifications
public final boolean hasSpecifications()
For responses, this returns true if the service returned a value for the Specifications property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
specifications
public final Map<String,String> specifications()
The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see SAP deployment specifications. To retrieve the specifications required to create a deployment for other workloads, use the
GetWorkloadDeploymentPatternoperation.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSpecifications()method.- Returns:
- The settings specified for the deployment. These settings define how to deploy and configure your
resources created by the deployment. For more information about the specifications required for creating
a deployment for a SAP workload, see SAP
deployment specifications. To retrieve the specifications required to create a deployment for other
workloads, use the
GetWorkloadDeploymentPatternoperation.
-
status
public final DeploymentStatus status()
The status of the deployment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the deployment.
- See Also:
DeploymentStatus
-
statusAsString
public final String statusAsString()
The status of the deployment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the deployment.
- See Also:
DeploymentStatus
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
tags
public final Map<String,String> tags()
Information about the tags attached to a deployment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()method.- Returns:
- Information about the tags attached to a deployment.
-
workloadName
public final String workloadName()
The name of the workload.
- Returns:
- The name of the workload.
-
toBuilder
public DeploymentData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeploymentData.Builder,DeploymentData>
-
builder
public static DeploymentData.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeploymentData.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-