@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVpcEndpointServicePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ModifyVpcEndpointServicePermissionsResult() |
| Modifier and Type | Method and Description |
|---|---|
ModifyVpcEndpointServicePermissionsResult |
clone() |
boolean |
equals(Object obj) |
List<AddedPrincipal> |
getAddedPrincipals()
Information about the added principals.
|
Boolean |
getReturnValue()
Returns
true if the request succeeds; otherwise, it returns an error. |
int |
hashCode() |
Boolean |
isReturnValue()
Returns
true if the request succeeds; otherwise, it returns an error. |
void |
setAddedPrincipals(Collection<AddedPrincipal> addedPrincipals)
Information about the added principals.
|
void |
setReturnValue(Boolean returnValue)
Returns
true if the request succeeds; otherwise, it returns an error. |
String |
toString()
Returns a string representation of this object.
|
ModifyVpcEndpointServicePermissionsResult |
withAddedPrincipals(AddedPrincipal... addedPrincipals)
Information about the added principals.
|
ModifyVpcEndpointServicePermissionsResult |
withAddedPrincipals(Collection<AddedPrincipal> addedPrincipals)
Information about the added principals.
|
ModifyVpcEndpointServicePermissionsResult |
withReturnValue(Boolean returnValue)
Returns
true if the request succeeds; otherwise, it returns an error. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic ModifyVpcEndpointServicePermissionsResult()
public List<AddedPrincipal> getAddedPrincipals()
Information about the added principals.
public void setAddedPrincipals(Collection<AddedPrincipal> addedPrincipals)
Information about the added principals.
addedPrincipals - Information about the added principals.public ModifyVpcEndpointServicePermissionsResult withAddedPrincipals(AddedPrincipal... addedPrincipals)
Information about the added principals.
NOTE: This method appends the values to the existing list (if any). Use
setAddedPrincipals(java.util.Collection) or withAddedPrincipals(java.util.Collection) if you
want to override the existing values.
addedPrincipals - Information about the added principals.public ModifyVpcEndpointServicePermissionsResult withAddedPrincipals(Collection<AddedPrincipal> addedPrincipals)
Information about the added principals.
addedPrincipals - Information about the added principals.public void setReturnValue(Boolean returnValue)
Returns true if the request succeeds; otherwise, it returns an error.
returnValue - Returns true if the request succeeds; otherwise, it returns an error.public Boolean getReturnValue()
Returns true if the request succeeds; otherwise, it returns an error.
true if the request succeeds; otherwise, it returns an error.public ModifyVpcEndpointServicePermissionsResult withReturnValue(Boolean returnValue)
Returns true if the request succeeds; otherwise, it returns an error.
returnValue - Returns true if the request succeeds; otherwise, it returns an error.public Boolean isReturnValue()
Returns true if the request succeeds; otherwise, it returns an error.
true if the request succeeds; otherwise, it returns an error.public String toString()
toString in class ObjectObject.toString()public ModifyVpcEndpointServicePermissionsResult clone()