@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchPermissionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
LaunchPermissionConfiguration() |
Modifier and Type | Method and Description |
---|---|
LaunchPermissionConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getUserGroups() |
List<String> |
getUserIds() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUserGroups(Collection<String> userGroups) |
void |
setUserIds(Collection<String> userIds) |
String |
toString()
Returns a string representation of this object.
|
LaunchPermissionConfiguration |
withUserGroups(Collection<String> userGroups) |
LaunchPermissionConfiguration |
withUserGroups(String... userGroups) |
LaunchPermissionConfiguration |
withUserIds(Collection<String> userIds) |
LaunchPermissionConfiguration |
withUserIds(String... userIds) |
public void setUserIds(Collection<String> userIds)
userIds
- public LaunchPermissionConfiguration withUserIds(String... userIds)
NOTE: This method appends the values to the existing list (if any). Use
setUserIds(java.util.Collection)
or withUserIds(java.util.Collection)
if you want to override
the existing values.
userIds
- public LaunchPermissionConfiguration withUserIds(Collection<String> userIds)
userIds
- public void setUserGroups(Collection<String> userGroups)
userGroups
- public LaunchPermissionConfiguration withUserGroups(String... userGroups)
NOTE: This method appends the values to the existing list (if any). Use
setUserGroups(java.util.Collection)
or withUserGroups(java.util.Collection)
if you want to
override the existing values.
userGroups
- public LaunchPermissionConfiguration withUserGroups(Collection<String> userGroups)
userGroups
- public String toString()
toString
in class Object
Object.toString()
public LaunchPermissionConfiguration 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.