Class DeploymentTarget
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.DeploymentTarget
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeploymentTarget.Builder,DeploymentTarget>
@Generated("software.amazon.awssdk:codegen") public final class DeploymentTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentTarget.Builder,DeploymentTarget>
Information about the deployment target.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeploymentTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentTarget.Builderbuilder()CloudFormationTargetcloudFormationTarget()Returns the value of the CloudFormationTarget property for this object.DeploymentTargetTypedeploymentTargetType()The deployment type that is specific to the deployment's compute platform or deployments initiated by a CloudFormation stack update.StringdeploymentTargetTypeAsString()The deployment type that is specific to the deployment's compute platform or deployments initiated by a CloudFormation stack update.ECSTargetecsTarget()Information about the target for a deployment that uses the Amazon ECS compute platform.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstanceTargetinstanceTarget()Information about the target for a deployment that uses the EC2/On-premises compute platform.LambdaTargetlambdaTarget()Information about the target for a deployment that uses the Lambda compute platform.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeploymentTarget.Builder>serializableBuilderClass()DeploymentTarget.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
deploymentTargetType
public final DeploymentTargetType deploymentTargetType()
The deployment type that is specific to the deployment's compute platform or deployments initiated by a CloudFormation stack update.
If the service returns an enum value that is not available in the current SDK version,
deploymentTargetTypewill returnDeploymentTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTargetTypeAsString().- Returns:
- The deployment type that is specific to the deployment's compute platform or deployments initiated by a CloudFormation stack update.
- See Also:
DeploymentTargetType
-
deploymentTargetTypeAsString
public final String deploymentTargetTypeAsString()
The deployment type that is specific to the deployment's compute platform or deployments initiated by a CloudFormation stack update.
If the service returns an enum value that is not available in the current SDK version,
deploymentTargetTypewill returnDeploymentTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTargetTypeAsString().- Returns:
- The deployment type that is specific to the deployment's compute platform or deployments initiated by a CloudFormation stack update.
- See Also:
DeploymentTargetType
-
instanceTarget
public final InstanceTarget instanceTarget()
Information about the target for a deployment that uses the EC2/On-premises compute platform.
- Returns:
- Information about the target for a deployment that uses the EC2/On-premises compute platform.
-
lambdaTarget
public final LambdaTarget lambdaTarget()
Information about the target for a deployment that uses the Lambda compute platform.
- Returns:
- Information about the target for a deployment that uses the Lambda compute platform.
-
ecsTarget
public final ECSTarget ecsTarget()
Information about the target for a deployment that uses the Amazon ECS compute platform.
- Returns:
- Information about the target for a deployment that uses the Amazon ECS compute platform.
-
cloudFormationTarget
public final CloudFormationTarget cloudFormationTarget()
Returns the value of the CloudFormationTarget property for this object.- Returns:
- The value of the CloudFormationTarget property for this object.
-
toBuilder
public DeploymentTarget.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeploymentTarget.Builder,DeploymentTarget>
-
builder
public static DeploymentTarget.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeploymentTarget.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
-
-