@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateInfrastructureConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateInfrastructureConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateInfrastructureConfigurationRequest |
addResourceTagsEntry(String key,
String value)
Add a single ResourceTags entry
|
UpdateInfrastructureConfigurationRequest |
clearResourceTagsEntries()
Removes all the entries added into ResourceTags.
|
UpdateInfrastructureConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
String |
getDescription()
The description of the infrastructure configuration.
|
String |
getInfrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
|
InstanceMetadataOptions |
getInstanceMetadataOptions()
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build
and test instances.
|
String |
getInstanceProfileName()
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
|
List<String> |
getInstanceTypes()
The instance types of the infrastructure configuration.
|
String |
getKeyPair()
The key pair of the infrastructure configuration.
|
Logging |
getLogging()
The logging configuration of the infrastructure configuration.
|
Map<String,String> |
getResourceTags()
The tags attached to the resource created by Image Builder.
|
List<String> |
getSecurityGroupIds()
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
|
String |
getSnsTopicArn()
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
|
String |
getSubnetId()
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
|
Boolean |
getTerminateInstanceOnFailure()
The terminate instance on failure setting of the infrastructure configuration.
|
int |
hashCode() |
Boolean |
isTerminateInstanceOnFailure()
The terminate instance on failure setting of the infrastructure configuration.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
void |
setDescription(String description)
The description of the infrastructure configuration.
|
void |
setInfrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
|
void |
setInstanceMetadataOptions(InstanceMetadataOptions instanceMetadataOptions)
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build
and test instances.
|
void |
setInstanceProfileName(String instanceProfileName)
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
|
void |
setInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration.
|
void |
setKeyPair(String keyPair)
The key pair of the infrastructure configuration.
|
void |
setLogging(Logging logging)
The logging configuration of the infrastructure configuration.
|
void |
setResourceTags(Map<String,String> resourceTags)
The tags attached to the resource created by Image Builder.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
|
void |
setSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
|
void |
setSubnetId(String subnetId)
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
|
void |
setTerminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure setting of the infrastructure configuration.
|
String |
toString()
Returns a string representation of this object.
|
UpdateInfrastructureConfigurationRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
UpdateInfrastructureConfigurationRequest |
withDescription(String description)
The description of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest |
withInfrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
|
UpdateInfrastructureConfigurationRequest |
withInstanceMetadataOptions(InstanceMetadataOptions instanceMetadataOptions)
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build
and test instances.
|
UpdateInfrastructureConfigurationRequest |
withInstanceProfileName(String instanceProfileName)
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
|
UpdateInfrastructureConfigurationRequest |
withInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest |
withInstanceTypes(String... instanceTypes)
The instance types of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest |
withKeyPair(String keyPair)
The key pair of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest |
withLogging(Logging logging)
The logging configuration of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest |
withResourceTags(Map<String,String> resourceTags)
The tags attached to the resource created by Image Builder.
|
UpdateInfrastructureConfigurationRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
|
UpdateInfrastructureConfigurationRequest |
withSecurityGroupIds(String... securityGroupIds)
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
|
UpdateInfrastructureConfigurationRequest |
withSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
|
UpdateInfrastructureConfigurationRequest |
withSubnetId(String subnetId)
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
|
UpdateInfrastructureConfigurationRequest |
withTerminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure setting of the infrastructure configuration.
|
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 UpdateInfrastructureConfigurationRequest()
public void setInfrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
infrastructureConfigurationArn
- The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.public String getInfrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
public UpdateInfrastructureConfigurationRequest withInfrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
infrastructureConfigurationArn
- The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.public void setDescription(String description)
The description of the infrastructure configuration.
description
- The description of the infrastructure configuration.public String getDescription()
The description of the infrastructure configuration.
public UpdateInfrastructureConfigurationRequest withDescription(String description)
The description of the infrastructure configuration.
description
- The description of the infrastructure configuration.public List<String> getInstanceTypes()
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
public void setInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
instanceTypes
- The instance types of the infrastructure configuration. You can specify one or more instance types to use
for this build. The service will pick one of these instance types based on availability.public UpdateInfrastructureConfigurationRequest withInstanceTypes(String... instanceTypes)
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceTypes(java.util.Collection)
or withInstanceTypes(java.util.Collection)
if you want
to override the existing values.
instanceTypes
- The instance types of the infrastructure configuration. You can specify one or more instance types to use
for this build. The service will pick one of these instance types based on availability.public UpdateInfrastructureConfigurationRequest withInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
instanceTypes
- The instance types of the infrastructure configuration. You can specify one or more instance types to use
for this build. The service will pick one of these instance types based on availability.public void setInstanceProfileName(String instanceProfileName)
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
instanceProfileName
- The instance profile to associate with the instance used to customize your Amazon EC2 AMI.public String getInstanceProfileName()
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
public UpdateInfrastructureConfigurationRequest withInstanceProfileName(String instanceProfileName)
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
instanceProfileName
- The instance profile to associate with the instance used to customize your Amazon EC2 AMI.public List<String> getSecurityGroupIds()
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
securityGroupIds
- The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.public UpdateInfrastructureConfigurationRequest withSecurityGroupIds(String... securityGroupIds)
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.public UpdateInfrastructureConfigurationRequest withSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
securityGroupIds
- The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.public void setSubnetId(String subnetId)
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
subnetId
- The subnet ID to place the instance used to customize your Amazon EC2 AMI in.public String getSubnetId()
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
public UpdateInfrastructureConfigurationRequest withSubnetId(String subnetId)
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
subnetId
- The subnet ID to place the instance used to customize your Amazon EC2 AMI in.public void setLogging(Logging logging)
The logging configuration of the infrastructure configuration.
logging
- The logging configuration of the infrastructure configuration.public Logging getLogging()
The logging configuration of the infrastructure configuration.
public UpdateInfrastructureConfigurationRequest withLogging(Logging logging)
The logging configuration of the infrastructure configuration.
logging
- The logging configuration of the infrastructure configuration.public void setKeyPair(String keyPair)
The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
keyPair
- The key pair of the infrastructure configuration. You can use this to log on to and debug the instance
used to create your image.public String getKeyPair()
The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
public UpdateInfrastructureConfigurationRequest withKeyPair(String keyPair)
The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
keyPair
- The key pair of the infrastructure configuration. You can use this to log on to and debug the instance
used to create your image.public void setTerminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
terminateInstanceOnFailure
- The terminate instance on failure setting of the infrastructure configuration. Set to false if you want
Image Builder to retain the instance used to configure your AMI if the build or test phase of your
workflow fails.public Boolean getTerminateInstanceOnFailure()
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
public UpdateInfrastructureConfigurationRequest withTerminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
terminateInstanceOnFailure
- The terminate instance on failure setting of the infrastructure configuration. Set to false if you want
Image Builder to retain the instance used to configure your AMI if the build or test phase of your
workflow fails.public Boolean isTerminateInstanceOnFailure()
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
public void setSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
snsTopicArn
- The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
public String getSnsTopicArn()
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
public UpdateInfrastructureConfigurationRequest withSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
snsTopicArn
- The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
public void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information,
see Ensuring
idempotency in the Amazon EC2 API Reference.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
public UpdateInfrastructureConfigurationRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information,
see Ensuring
idempotency in the Amazon EC2 API Reference.public Map<String,String> getResourceTags()
The tags attached to the resource created by Image Builder.
public void setResourceTags(Map<String,String> resourceTags)
The tags attached to the resource created by Image Builder.
resourceTags
- The tags attached to the resource created by Image Builder.public UpdateInfrastructureConfigurationRequest withResourceTags(Map<String,String> resourceTags)
The tags attached to the resource created by Image Builder.
resourceTags
- The tags attached to the resource created by Image Builder.public UpdateInfrastructureConfigurationRequest addResourceTagsEntry(String key, String value)
public UpdateInfrastructureConfigurationRequest clearResourceTagsEntries()
public void setInstanceMetadataOptions(InstanceMetadataOptions instanceMetadataOptions)
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see one of the following links:
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
instanceMetadataOptions
- The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch
EC2 build and test instances. For more information about instance metadata options, see one of the
following links:
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
public InstanceMetadataOptions getInstanceMetadataOptions()
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see one of the following links:
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
public UpdateInfrastructureConfigurationRequest withInstanceMetadataOptions(InstanceMetadataOptions instanceMetadataOptions)
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see one of the following links:
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
instanceMetadataOptions
- The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch
EC2 build and test instances. For more information about instance metadata options, see one of the
following links:
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
public String toString()
toString
in class Object
Object.toString()
public UpdateInfrastructureConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()