@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SharedImagePermissions extends Object implements Serializable, Cloneable, StructuredPojo
Describes the permissions that are available to the specified AWS account for a shared image.
Constructor and Description |
---|
SharedImagePermissions() |
Modifier and Type | Method and Description |
---|---|
SharedImagePermissions |
clone() |
boolean |
equals(Object obj) |
ImagePermissions |
getImagePermissions()
Describes the permissions for a shared image.
|
String |
getSharedAccountId()
The 12-digit identifier of the AWS account with which the image is shared.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setImagePermissions(ImagePermissions imagePermissions)
Describes the permissions for a shared image.
|
void |
setSharedAccountId(String sharedAccountId)
The 12-digit identifier of the AWS account with which the image is shared.
|
String |
toString()
Returns a string representation of this object.
|
SharedImagePermissions |
withImagePermissions(ImagePermissions imagePermissions)
Describes the permissions for a shared image.
|
SharedImagePermissions |
withSharedAccountId(String sharedAccountId)
The 12-digit identifier of the AWS account with which the image is shared.
|
public void setSharedAccountId(String sharedAccountId)
The 12-digit identifier of the AWS account with which the image is shared.
sharedAccountId
- The 12-digit identifier of the AWS account with which the image is shared.public String getSharedAccountId()
The 12-digit identifier of the AWS account with which the image is shared.
public SharedImagePermissions withSharedAccountId(String sharedAccountId)
The 12-digit identifier of the AWS account with which the image is shared.
sharedAccountId
- The 12-digit identifier of the AWS account with which the image is shared.public void setImagePermissions(ImagePermissions imagePermissions)
Describes the permissions for a shared image.
imagePermissions
- Describes the permissions for a shared image.public ImagePermissions getImagePermissions()
Describes the permissions for a shared image.
public SharedImagePermissions withImagePermissions(ImagePermissions imagePermissions)
Describes the permissions for a shared image.
imagePermissions
- Describes the permissions for a shared image.public String toString()
toString
in class Object
Object.toString()
public SharedImagePermissions 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.