@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetDeploymentTargetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchGetDeploymentTargetsRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGetDeploymentTargetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDeploymentId()
The unique ID of a deployment.
|
List<String> |
getTargetIds()
The unique IDs of the deployment targets.
|
int |
hashCode() |
void |
setDeploymentId(String deploymentId)
The unique ID of a deployment.
|
void |
setTargetIds(Collection<String> targetIds)
The unique IDs of the deployment targets.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetDeploymentTargetsRequest |
withDeploymentId(String deploymentId)
The unique ID of a deployment.
|
BatchGetDeploymentTargetsRequest |
withTargetIds(Collection<String> targetIds)
The unique IDs of the deployment targets.
|
BatchGetDeploymentTargetsRequest |
withTargetIds(String... targetIds)
The unique IDs of the deployment targets.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public String getDeploymentId()
The unique ID of a deployment.
public BatchGetDeploymentTargetsRequest withDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public List<String> getTargetIds()
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises
instances IDs, and their target type is instanceTarget
.
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their
target type is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and
services specified using the format <clustername>:<servicename>
. Their target type is
ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target
type is cloudFormationTarget
.
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or
on-premises instances IDs, and their target type is instanceTarget
.
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions,
and their target type is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters
and services specified using the format <clustername>:<servicename>
. Their
target type is ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their
target type is cloudFormationTarget
.
public void setTargetIds(Collection<String> targetIds)
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises
instances IDs, and their target type is instanceTarget
.
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their
target type is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and
services specified using the format <clustername>:<servicename>
. Their target type is
ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target
type is cloudFormationTarget
.
targetIds
- The unique IDs of the deployment targets. The compute platform of the deployment determines the type of
the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or
on-premises instances IDs, and their target type is instanceTarget
.
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions,
and their target type is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters
and services specified using the format <clustername>:<servicename>
. Their target
type is ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their
target type is cloudFormationTarget
.
public BatchGetDeploymentTargetsRequest withTargetIds(String... targetIds)
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises
instances IDs, and their target type is instanceTarget
.
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their
target type is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and
services specified using the format <clustername>:<servicename>
. Their target type is
ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target
type is cloudFormationTarget
.
NOTE: This method appends the values to the existing list (if any). Use
setTargetIds(java.util.Collection)
or withTargetIds(java.util.Collection)
if you want to
override the existing values.
targetIds
- The unique IDs of the deployment targets. The compute platform of the deployment determines the type of
the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or
on-premises instances IDs, and their target type is instanceTarget
.
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions,
and their target type is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters
and services specified using the format <clustername>:<servicename>
. Their target
type is ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their
target type is cloudFormationTarget
.
public BatchGetDeploymentTargetsRequest withTargetIds(Collection<String> targetIds)
The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises
instances IDs, and their target type is instanceTarget
.
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their
target type is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and
services specified using the format <clustername>:<servicename>
. Their target type is
ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target
type is cloudFormationTarget
.
targetIds
- The unique IDs of the deployment targets. The compute platform of the deployment determines the type of
the targets and their formats. The maximum number of deployment target IDs you can specify is 25.
For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or
on-premises instances IDs, and their target type is instanceTarget
.
For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions,
and their target type is instanceTarget
.
For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters
and services specified using the format <clustername>:<servicename>
. Their target
type is ecsTarget
.
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their
target type is cloudFormationTarget
.
public String toString()
toString
in class Object
Object.toString()
public BatchGetDeploymentTargetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()