@Generated(value="software.amazon.awssdk:codegen") public final class CreateInfrastructureConfigurationRequest extends ImagebuilderRequest implements ToCopyableBuilder<CreateInfrastructureConfigurationRequest.Builder,CreateInfrastructureConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateInfrastructureConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateInfrastructureConfigurationRequest.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).
|
boolean |
hasTags()
Returns true if the Tags 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 |
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.
|
String |
name()
The name 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 CreateInfrastructureConfigurationRequest.Builder> |
serializableBuilderClass() |
String |
snsTopicArn()
The SNS topic on which to send image build events.
|
String |
subnetId()
The subnet ID in which to place the instance used to customize your EC2 AMI.
|
Map<String,String> |
tags()
The tags of the infrastructure configuration.
|
Boolean |
terminateInstanceOnFailure()
The terminate instance on failure setting of the infrastructure configuration.
|
CreateInfrastructureConfigurationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the infrastructure configuration.
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 in which to place the instance used to customize your EC2 AMI.
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 boolean hasTags()
public Map<String,String> tags()
The tags of the infrastructure configuration.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public String clientToken()
The idempotency token used to make this request idempotent.
public CreateInfrastructureConfigurationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateInfrastructureConfigurationRequest.Builder,CreateInfrastructureConfigurationRequest>toBuilder in class ImagebuilderRequestpublic static CreateInfrastructureConfigurationRequest.Builder builder()
public static Class<? extends CreateInfrastructureConfigurationRequest.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.