Class Distribution
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Distribution.Builder,
Distribution>
Defines the settings for a specific Region.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe specific AMI settings; for example, launch permissions or AMI tags.static Distribution.Builder
builder()
Container distribution settings for encryption, licensing, and sharing in a specific Region.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final List
<FastLaunchConfiguration> The Windows faster-launching configurations to use for AMI distribution.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the FastLaunchConfigurations property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the LaunchTemplateConfigurations property.final boolean
For responses, this returns true if the service returned a value for the LicenseConfigurationArns property.final boolean
For responses, this returns true if the service returned a value for the SsmParameterConfigurations property.final List
<LaunchTemplateConfiguration> A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.The License Manager Configuration to associate with the AMI in the specified Region.final String
region()
The target Region.final 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.static Class
<? extends Distribution.Builder> final List
<SsmParameterConfiguration> Contains settings to update Amazon Web Services Systems Manager (SSM) Parameter Store Parameters with output AMI IDs from the build by target Region.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
region
-
amiDistributionConfiguration
The specific AMI settings; for example, launch permissions or AMI tags.
- Returns:
- The specific AMI settings; for example, launch permissions or AMI tags.
-
containerDistributionConfiguration
Container distribution settings for encryption, licensing, and sharing in a specific Region.
- Returns:
- Container distribution settings for encryption, licensing, and sharing in a specific Region.
-
hasLicenseConfigurationArns
public final boolean hasLicenseConfigurationArns()For responses, this returns true if the service returned a value for the LicenseConfigurationArns property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- The License Manager Configuration to associate with the AMI in the specified Region.
-
hasLaunchTemplateConfigurations
public final boolean hasLaunchTemplateConfigurations()For responses, this returns true if the service returned a value for the LaunchTemplateConfigurations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
-
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.
- Returns:
- 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.
-
hasFastLaunchConfigurations
public final boolean hasFastLaunchConfigurations()For responses, this returns true if the service returned a value for the FastLaunchConfigurations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- The Windows faster-launching configurations to use for AMI distribution.
-
hasSsmParameterConfigurations
public final boolean hasSsmParameterConfigurations()For responses, this returns true if the service returned a value for the SsmParameterConfigurations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
ssmParameterConfigurations
Contains settings to update Amazon Web Services Systems Manager (SSM) Parameter Store Parameters with output AMI IDs from the build by target 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
hasSsmParameterConfigurations()
method.- Returns:
- Contains settings to update Amazon Web Services Systems Manager (SSM) Parameter Store Parameters with output AMI IDs from the build by target Region.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Distribution.Builder,
Distribution> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-