@Generated(value="software.amazon.awssdk:codegen") public final class AmiDistributionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AmiDistributionConfiguration.Builder,AmiDistributionConfiguration>
Define and configure the output AMIs of the pipeline.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AmiDistributionConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
amiTags()
The tags to apply to AMIs distributed to this Region.
|
static AmiDistributionConfiguration.Builder |
builder() |
String |
description()
The description of the AMI distribution configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAmiTags()
For responses, this returns true if the service returned a value for the AmiTags property.
|
int |
hashCode() |
boolean |
hasTargetAccountIds()
For responses, this returns true if the service returned a value for the TargetAccountIds property.
|
String |
kmsKeyId()
The KMS key identifier used to encrypt the distributed image.
|
LaunchPermissionConfiguration |
launchPermission()
Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch
instances.
|
String |
name()
The name of the output AMI.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AmiDistributionConfiguration.Builder> |
serializableBuilderClass() |
List<String> |
targetAccountIds()
The ID of an account to which you want to distribute an image.
|
AmiDistributionConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the output AMI.
public final String description()
The description of the AMI distribution configuration. Minimum and maximum length are in characters.
public final boolean hasTargetAccountIds()
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> targetAccountIds()
The ID of an account to which you want to distribute an image.
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 hasTargetAccountIds() method.
public final boolean hasAmiTags()
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> amiTags()
The tags to apply to AMIs distributed to this Region.
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 hasAmiTags() method.
public final String kmsKeyId()
The KMS key identifier used to encrypt the distributed image.
public final LaunchPermissionConfiguration launchPermission()
Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch instances.
public AmiDistributionConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AmiDistributionConfiguration.Builder,AmiDistributionConfiguration>public static AmiDistributionConfiguration.Builder builder()
public static Class<? extends AmiDistributionConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.