@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentGroupInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentGroupInfo.Builder,DeploymentGroupInfo>
Information about a deployment group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeploymentGroupInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
AlarmConfiguration |
alarmConfiguration()
A list of alarms associated with the deployment group.
|
String |
applicationName()
The application name.
|
AutoRollbackConfiguration |
autoRollbackConfiguration()
Information about the automatic rollback configuration associated with the deployment group.
|
List<AutoScalingGroup> |
autoScalingGroups()
A list of associated Auto Scaling groups.
|
BlueGreenDeploymentConfiguration |
blueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
|
static DeploymentGroupInfo.Builder |
builder() |
ComputePlatform |
computePlatform()
The destination platform type for the deployment (
Lambda, Server, or ECS). |
String |
computePlatformAsString()
The destination platform type for the deployment (
Lambda, Server, or ECS). |
String |
deploymentConfigName()
The deployment configuration name.
|
String |
deploymentGroupId()
The deployment group ID.
|
String |
deploymentGroupName()
The deployment group name.
|
DeploymentStyle |
deploymentStyle()
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route
deployment traffic behind a load balancer.
|
List<EC2TagFilter> |
ec2TagFilters()
The Amazon EC2 tags on which to filter.
|
EC2TagSet |
ec2TagSet()
Information about groups of tags applied to an EC2 instance.
|
List<ECSService> |
ecsServices()
The target Amazon ECS services in the deployment group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAutoScalingGroups()
Returns true if the AutoScalingGroups property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasEc2TagFilters()
Returns true if the Ec2TagFilters property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasEcsServices()
Returns true if the EcsServices property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasOnPremisesInstanceTagFilters()
Returns true if the OnPremisesInstanceTagFilters property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
boolean |
hasTriggerConfigurations()
Returns true if the TriggerConfigurations property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
LastDeploymentInfo |
lastAttemptedDeployment()
Information about the most recent attempted deployment to the deployment group.
|
LastDeploymentInfo |
lastSuccessfulDeployment()
Information about the most recent successful deployment to the deployment group.
|
LoadBalancerInfo |
loadBalancerInfo()
Information about the load balancer to use in a deployment.
|
List<TagFilter> |
onPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
|
OnPremisesTagSet |
onPremisesTagSet()
Information about groups of tags applied to an on-premises instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeploymentGroupInfo.Builder> |
serializableBuilderClass() |
String |
serviceRoleArn()
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your
behalf.
|
RevisionLocation |
targetRevision()
Information about the deployment group's target revision, including type and location.
|
DeploymentGroupInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<TriggerConfig> |
triggerConfigurations()
Information about triggers associated with the deployment group.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String applicationName()
The application name.
public String deploymentGroupId()
The deployment group ID.
public String deploymentGroupName()
The deployment group name.
public String deploymentConfigName()
The deployment configuration name.
public boolean hasEc2TagFilters()
public List<EC2TagFilter> ec2TagFilters()
The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances with any of the specified tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEc2TagFilters() to see if a value was sent in this field.
public boolean hasOnPremisesInstanceTagFilters()
public List<TagFilter> onPremisesInstanceTagFilters()
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOnPremisesInstanceTagFilters() to see if a value was sent in this field.
public boolean hasAutoScalingGroups()
public List<AutoScalingGroup> autoScalingGroups()
A list of associated Auto Scaling groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAutoScalingGroups() to see if a value was sent in this field.
public String serviceRoleArn()
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf. For more information, see Create a Service Role for AWS CodeDeploy in the AWS CodeDeploy User Guide.
public RevisionLocation targetRevision()
Information about the deployment group's target revision, including type and location.
public boolean hasTriggerConfigurations()
public List<TriggerConfig> triggerConfigurations()
Information about triggers associated with the deployment group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTriggerConfigurations() to see if a value was sent in this field.
public AlarmConfiguration alarmConfiguration()
A list of alarms associated with the deployment group.
public AutoRollbackConfiguration autoRollbackConfiguration()
Information about the automatic rollback configuration associated with the deployment group.
public DeploymentStyle deploymentStyle()
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
public BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
public LoadBalancerInfo loadBalancerInfo()
Information about the load balancer to use in a deployment.
public LastDeploymentInfo lastSuccessfulDeployment()
Information about the most recent successful deployment to the deployment group.
public LastDeploymentInfo lastAttemptedDeployment()
Information about the most recent attempted deployment to the deployment group.
public EC2TagSet ec2TagSet()
Information about groups of tags applied to an EC2 instance. The deployment group includes only EC2 instances identified by all of the tag groups. Cannot be used in the same call as ec2TagFilters.
public OnPremisesTagSet onPremisesTagSet()
Information about groups of tags applied to an on-premises instance. The deployment group includes only on-premises instances identified by all the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters.
public ComputePlatform computePlatform()
The destination platform type for the deployment (Lambda, Server, or ECS).
If the service returns an enum value that is not available in the current SDK version, computePlatform
will return ComputePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from computePlatformAsString().
Lambda, Server, or
ECS).ComputePlatformpublic String computePlatformAsString()
The destination platform type for the deployment (Lambda, Server, or ECS).
If the service returns an enum value that is not available in the current SDK version, computePlatform
will return ComputePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from computePlatformAsString().
Lambda, Server, or
ECS).ComputePlatformpublic boolean hasEcsServices()
public List<ECSService> ecsServices()
The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
pair using the format <clustername>:<servicename>.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEcsServices() to see if a value was sent in this field.
<clustername>:<servicename>.public DeploymentGroupInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeploymentGroupInfo.Builder,DeploymentGroupInfo>public static DeploymentGroupInfo.Builder builder()
public static Class<? extends DeploymentGroupInfo.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.