@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Distribution extends Object implements Serializable, Cloneable, StructuredPojo
Defines the settings for a specific Region.
| Constructor and Description |
|---|
Distribution() |
| Modifier and Type | Method and Description |
|---|---|
Distribution |
clone() |
boolean |
equals(Object obj) |
AmiDistributionConfiguration |
getAmiDistributionConfiguration()
The specific AMI settings (for example, launch permissions, AMI tags).
|
List<String> |
getLicenseConfigurationArns()
The License Manager Configuration to associate with the AMI in the specified Region.
|
String |
getRegion()
The target Region.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAmiDistributionConfiguration(AmiDistributionConfiguration amiDistributionConfiguration)
The specific AMI settings (for example, launch permissions, AMI tags).
|
void |
setLicenseConfigurationArns(Collection<String> licenseConfigurationArns)
The License Manager Configuration to associate with the AMI in the specified Region.
|
void |
setRegion(String region)
The target Region.
|
String |
toString()
Returns a string representation of this object.
|
Distribution |
withAmiDistributionConfiguration(AmiDistributionConfiguration amiDistributionConfiguration)
The specific AMI settings (for example, launch permissions, AMI tags).
|
Distribution |
withLicenseConfigurationArns(Collection<String> licenseConfigurationArns)
The License Manager Configuration to associate with the AMI in the specified Region.
|
Distribution |
withLicenseConfigurationArns(String... licenseConfigurationArns)
The License Manager Configuration to associate with the AMI in the specified Region.
|
Distribution |
withRegion(String region)
The target Region.
|
public void setRegion(String region)
The target Region.
region - The target Region.public String getRegion()
The target Region.
public Distribution withRegion(String region)
The target Region.
region - The target Region.public void setAmiDistributionConfiguration(AmiDistributionConfiguration amiDistributionConfiguration)
The specific AMI settings (for example, launch permissions, AMI tags).
amiDistributionConfiguration - The specific AMI settings (for example, launch permissions, AMI tags).public AmiDistributionConfiguration getAmiDistributionConfiguration()
The specific AMI settings (for example, launch permissions, AMI tags).
public Distribution withAmiDistributionConfiguration(AmiDistributionConfiguration amiDistributionConfiguration)
The specific AMI settings (for example, launch permissions, AMI tags).
amiDistributionConfiguration - The specific AMI settings (for example, launch permissions, AMI tags).public List<String> getLicenseConfigurationArns()
The License Manager Configuration to associate with the AMI in the specified Region.
public void setLicenseConfigurationArns(Collection<String> licenseConfigurationArns)
The License Manager Configuration to associate with the AMI in the specified Region.
licenseConfigurationArns - The License Manager Configuration to associate with the AMI in the specified Region.public Distribution withLicenseConfigurationArns(String... licenseConfigurationArns)
The License Manager Configuration to associate with the AMI in the specified Region.
NOTE: This method appends the values to the existing list (if any). Use
setLicenseConfigurationArns(java.util.Collection) or
withLicenseConfigurationArns(java.util.Collection) if you want to override the existing values.
licenseConfigurationArns - The License Manager Configuration to associate with the AMI in the specified Region.public Distribution withLicenseConfigurationArns(Collection<String> licenseConfigurationArns)
The License Manager Configuration to associate with the AMI in the specified Region.
licenseConfigurationArns - The License Manager Configuration to associate with the AMI in the specified Region.public String toString()
toString in class ObjectObject.toString()public Distribution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.