@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()
For responses, this returns true if the service returned a value for the InstanceTypes property.
|
boolean |
hasResourceTags()
For responses, this returns true if the service returned a value for the ResourceTags property.
|
boolean |
hasSecurityGroupIds()
For responses, this returns true if the service returned a value for the SecurityGroupIds property.
|
String |
infrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
|
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.
|
String |
instanceProfileName()
The instance profile to associate with the instance used to customize your Amazon 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.
|
Map<String,String> |
resourceTags()
The tags attached to the resource created by Image Builder.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
|
static Class<? extends UpdateInfrastructureConfigurationRequest.Builder> |
serializableBuilderClass() |
String |
snsTopicArn()
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
|
String |
subnetId()
The subnet ID to place the instance used to customize your Amazon 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 final String infrastructureConfigurationArn()
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
public final String description()
The description of the infrastructure configuration.
public final boolean hasInstanceTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInstanceTypes() method.
public final String instanceProfileName()
The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
public final boolean hasSecurityGroupIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> securityGroupIds()
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecurityGroupIds() method.
public final String subnetId()
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
public final Logging logging()
The logging configuration of the infrastructure configuration.
public final 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.
public final 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 final 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.
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 final String clientToken()
The idempotency token used to make this request idempotent.
public final boolean hasResourceTags()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> resourceTags()
The tags attached to the resource created by Image Builder.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceTags() method.
public final 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.
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.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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.