@Generated(value="software.amazon.awssdk:codegen") public final class Distribution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Distribution.Builder,Distribution>
Defines the settings for a specific Region.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Distribution.Builder |
| Modifier and Type | Method and Description |
|---|---|
AmiDistributionConfiguration |
amiDistributionConfiguration()
The specific AMI settings; for example, launch permissions or AMI tags.
|
static Distribution.Builder |
builder() |
ContainerDistributionConfiguration |
containerDistributionConfiguration()
Container distribution settings for encryption, licensing, and sharing in a specific Region.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<FastLaunchConfiguration> |
fastLaunchConfigurations()
The Windows faster-launching configurations to use for AMI distribution.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFastLaunchConfigurations()
For responses, this returns true if the service returned a value for the FastLaunchConfigurations property.
|
int |
hashCode() |
boolean |
hasLaunchTemplateConfigurations()
For responses, this returns true if the service returned a value for the LaunchTemplateConfigurations property.
|
boolean |
hasLicenseConfigurationArns()
For responses, this returns true if the service returned a value for the LicenseConfigurationArns property.
|
List<LaunchTemplateConfiguration> |
launchTemplateConfigurations()
A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
|
List<String> |
licenseConfigurationArns()
The License Manager Configuration to associate with the AMI in the specified Region.
|
String |
region()
The target Region.
|
S3ExportConfiguration |
s3ExportConfiguration()
Configure export settings to deliver disk images created from your image build, using a file format that is
compatible with your VMs in that Region.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Distribution.Builder> |
serializableBuilderClass() |
Distribution.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String region()
The target Region.
public final AmiDistributionConfiguration amiDistributionConfiguration()
The specific AMI settings; for example, launch permissions or AMI tags.
public final ContainerDistributionConfiguration containerDistributionConfiguration()
Container distribution settings for encryption, licensing, and sharing in a specific Region.
public final boolean hasLicenseConfigurationArns()
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> licenseConfigurationArns()
The License Manager Configuration to associate with the AMI in the specified 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 hasLicenseConfigurationArns() method.
public final boolean hasLaunchTemplateConfigurations()
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<LaunchTemplateConfiguration> launchTemplateConfigurations()
A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
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 hasLaunchTemplateConfigurations() method.
public final S3ExportConfiguration s3ExportConfiguration()
Configure export settings to deliver disk images created from your image build, using a file format that is compatible with your VMs in that Region.
public final boolean hasFastLaunchConfigurations()
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<FastLaunchConfiguration> fastLaunchConfigurations()
The Windows faster-launching configurations to use for AMI distribution.
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 hasFastLaunchConfigurations() method.
public Distribution.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Distribution.Builder,Distribution>public static Distribution.Builder builder()
public static Class<? extends Distribution.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.