@Generated(value="software.amazon.awssdk:codegen") public final class UpdateInfrastructureConfigurationRequest extends ImagebuilderRequest implements ToCopyableBuilder<UpdateInfrastructureConfigurationRequest.Builder,UpdateInfrastructureConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateInfrastructureConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateInfrastructureConfigurationRequest.Builder |
builder() |
String |
clientToken()
The idempotency token used to make this request idempotent.
|
String |
description()
The description of the infrastructure configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInstanceTypes()
Returns true if the InstanceTypes 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 |
hasSecurityGroupIds()
Returns true if the SecurityGroupIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
infrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
|
String |
instanceProfileName()
The instance profile to associate with the instance used to customize your EC2 AMI.
|
List<String> |
instanceTypes()
The instance types of the infrastructure configuration.
|
String |
keyPair()
The key pair of the infrastructure configuration.
|
Logging |
logging()
The logging configuration of the infrastructure configuration.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
The security group IDs to associate with the instance used to customize your EC2 AMI.
|
static Class<? extends UpdateInfrastructureConfigurationRequest.Builder> |
serializableBuilderClass() |
String |
snsTopicArn()
The SNS topic on which to send image build events.
|
String |
subnetId()
The subnet ID to place the instance used to customize your EC2 AMI in.
|
Boolean |
terminateInstanceOnFailure()
The terminate instance on failure setting of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String infrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
public String description()
The description of the infrastructure configuration.
public boolean hasInstanceTypes()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInstanceTypes() to see if a value was sent in this field.
public String instanceProfileName()
The instance profile to associate with the instance used to customize your EC2 AMI.
public boolean hasSecurityGroupIds()
public List<String> securityGroupIds()
The security group IDs to associate with the instance used to customize your EC2 AMI.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroupIds() to see if a value was sent in this field.
public String subnetId()
The subnet ID to place the instance used to customize your EC2 AMI in.
public Logging logging()
The logging configuration of the infrastructure configuration.
public String keyPair()
The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image.
public 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.
public String snsTopicArn()
The SNS topic on which to send image build events.
public String clientToken()
The idempotency token used to make this request idempotent.
public UpdateInfrastructureConfigurationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateInfrastructureConfigurationRequest.Builder,UpdateInfrastructureConfigurationRequest>toBuilder in class ImagebuilderRequestpublic static UpdateInfrastructureConfigurationRequest.Builder builder()
public static Class<? extends UpdateInfrastructureConfigurationRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.