@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeResourcePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeResourcePermissionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeResourcePermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
The marker to use when requesting the next set of results.
|
List<Principal> |
getPrincipals()
The principals.
|
int |
hashCode() |
void |
setMarker(String marker)
The marker to use when requesting the next set of results.
|
void |
setPrincipals(Collection<Principal> principals)
The principals.
|
String |
toString()
Returns a string representation of this object.
|
DescribeResourcePermissionsResult |
withMarker(String marker)
The marker to use when requesting the next set of results.
|
DescribeResourcePermissionsResult |
withPrincipals(Collection<Principal> principals)
The principals.
|
DescribeResourcePermissionsResult |
withPrincipals(Principal... principals)
The principals.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPrincipals(Collection<Principal> principals)
The principals.
principals
- The principals.public DescribeResourcePermissionsResult withPrincipals(Principal... principals)
The principals.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipals(java.util.Collection)
or withPrincipals(java.util.Collection)
if you want to
override the existing values.
principals
- The principals.public DescribeResourcePermissionsResult withPrincipals(Collection<Principal> principals)
The principals.
principals
- The principals.public void setMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String getMarker()
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
public DescribeResourcePermissionsResult withMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeResourcePermissionsResult clone()