@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImagePermissions extends Object implements Serializable, Cloneable, StructuredPojo
Describes the permissions for an image.
Constructor and Description |
---|
ImagePermissions() |
Modifier and Type | Method and Description |
---|---|
ImagePermissions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowFleet()
Indicates whether the image can be used for a fleet.
|
Boolean |
getAllowImageBuilder()
Indicates whether the image can be used for an image builder.
|
int |
hashCode() |
Boolean |
isAllowFleet()
Indicates whether the image can be used for a fleet.
|
Boolean |
isAllowImageBuilder()
Indicates whether the image can be used for an image builder.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowFleet(Boolean allowFleet)
Indicates whether the image can be used for a fleet.
|
void |
setAllowImageBuilder(Boolean allowImageBuilder)
Indicates whether the image can be used for an image builder.
|
String |
toString()
Returns a string representation of this object.
|
ImagePermissions |
withAllowFleet(Boolean allowFleet)
Indicates whether the image can be used for a fleet.
|
ImagePermissions |
withAllowImageBuilder(Boolean allowImageBuilder)
Indicates whether the image can be used for an image builder.
|
public void setAllowFleet(Boolean allowFleet)
Indicates whether the image can be used for a fleet.
allowFleet
- Indicates whether the image can be used for a fleet.public Boolean getAllowFleet()
Indicates whether the image can be used for a fleet.
public ImagePermissions withAllowFleet(Boolean allowFleet)
Indicates whether the image can be used for a fleet.
allowFleet
- Indicates whether the image can be used for a fleet.public Boolean isAllowFleet()
Indicates whether the image can be used for a fleet.
public void setAllowImageBuilder(Boolean allowImageBuilder)
Indicates whether the image can be used for an image builder.
allowImageBuilder
- Indicates whether the image can be used for an image builder.public Boolean getAllowImageBuilder()
Indicates whether the image can be used for an image builder.
public ImagePermissions withAllowImageBuilder(Boolean allowImageBuilder)
Indicates whether the image can be used for an image builder.
allowImageBuilder
- Indicates whether the image can be used for an image builder.public Boolean isAllowImageBuilder()
Indicates whether the image can be used for an image builder.
public String toString()
toString
in class Object
Object.toString()
public ImagePermissions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.