@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmiDistributionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Define and configure the output AMIs of the pipeline.
Constructor and Description |
---|
AmiDistributionConfiguration() |
Modifier and Type | Method and Description |
---|---|
AmiDistributionConfiguration |
addAmiTagsEntry(String key,
String value)
Add a single AmiTags entry
|
AmiDistributionConfiguration |
clearAmiTagsEntries()
Removes all the entries added into AmiTags.
|
AmiDistributionConfiguration |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAmiTags()
The tags to apply to AMIs distributed to this Region.
|
String |
getDescription()
The description of the distribution configuration.
|
LaunchPermissionConfiguration |
getLaunchPermission()
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
|
String |
getName()
The name of the distribution configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmiTags(Map<String,String> amiTags)
The tags to apply to AMIs distributed to this Region.
|
void |
setDescription(String description)
The description of the distribution configuration.
|
void |
setLaunchPermission(LaunchPermissionConfiguration launchPermission)
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
|
void |
setName(String name)
The name of the distribution configuration.
|
String |
toString()
Returns a string representation of this object.
|
AmiDistributionConfiguration |
withAmiTags(Map<String,String> amiTags)
The tags to apply to AMIs distributed to this Region.
|
AmiDistributionConfiguration |
withDescription(String description)
The description of the distribution configuration.
|
AmiDistributionConfiguration |
withLaunchPermission(LaunchPermissionConfiguration launchPermission)
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
|
AmiDistributionConfiguration |
withName(String name)
The name of the distribution configuration.
|
public void setName(String name)
The name of the distribution configuration.
name
- The name of the distribution configuration.public String getName()
The name of the distribution configuration.
public AmiDistributionConfiguration withName(String name)
The name of the distribution configuration.
name
- The name of the distribution configuration.public void setDescription(String description)
The description of the distribution configuration.
description
- The description of the distribution configuration.public String getDescription()
The description of the distribution configuration.
public AmiDistributionConfiguration withDescription(String description)
The description of the distribution configuration.
description
- The description of the distribution configuration.public Map<String,String> getAmiTags()
The tags to apply to AMIs distributed to this Region.
public void setAmiTags(Map<String,String> amiTags)
The tags to apply to AMIs distributed to this Region.
amiTags
- The tags to apply to AMIs distributed to this Region.public AmiDistributionConfiguration withAmiTags(Map<String,String> amiTags)
The tags to apply to AMIs distributed to this Region.
amiTags
- The tags to apply to AMIs distributed to this Region.public AmiDistributionConfiguration addAmiTagsEntry(String key, String value)
public AmiDistributionConfiguration clearAmiTagsEntries()
public void setLaunchPermission(LaunchPermissionConfiguration launchPermission)
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
launchPermission
- Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.public LaunchPermissionConfiguration getLaunchPermission()
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
public AmiDistributionConfiguration withLaunchPermission(LaunchPermissionConfiguration launchPermission)
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
launchPermission
- Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.public String toString()
toString
in class Object
Object.toString()
public AmiDistributionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.