@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() |
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 to place the instance used to customize your EC2 AMI in.
|
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 List<String> instanceTypes()
The instance types of the infrastructure configuration. You may 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.
public String instanceProfileName()
The instance profile to associate with the instance used to customize your EC2 AMI.
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.
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 onto 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 wish for Image Builder to retain the instance used to configure your AMI in the event that the build or test phase of your workflow failed.
public String snsTopicArn()
The SNS topic on which to send image build events.
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.
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 © 2019. All rights reserved.