@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVpcEndpointServicePermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpcEndpointServicePermissionsRequest>
NOOP
Constructor and Description |
---|
ModifyVpcEndpointServicePermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVpcEndpointServicePermissionsRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAddAllowedPrincipals()
One or more Amazon Resource Names (ARNs) of principals for which to allow permission.
|
Request<ModifyVpcEndpointServicePermissionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getRemoveAllowedPrincipals()
One or more Amazon Resource Names (ARNs) of principals for which to remove permission.
|
String |
getServiceId()
The ID of the service.
|
int |
hashCode() |
void |
setAddAllowedPrincipals(Collection<String> addAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to allow permission.
|
void |
setRemoveAllowedPrincipals(Collection<String> removeAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to remove permission.
|
void |
setServiceId(String serviceId)
The ID of the service.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyVpcEndpointServicePermissionsRequest |
withAddAllowedPrincipals(Collection<String> addAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to allow permission.
|
ModifyVpcEndpointServicePermissionsRequest |
withAddAllowedPrincipals(String... addAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to allow permission.
|
ModifyVpcEndpointServicePermissionsRequest |
withRemoveAllowedPrincipals(Collection<String> removeAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to remove permission.
|
ModifyVpcEndpointServicePermissionsRequest |
withRemoveAllowedPrincipals(String... removeAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to remove permission.
|
ModifyVpcEndpointServicePermissionsRequest |
withServiceId(String serviceId)
The ID of the service.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ModifyVpcEndpointServicePermissionsRequest()
public void setServiceId(String serviceId)
The ID of the service.
serviceId
- The ID of the service.public String getServiceId()
The ID of the service.
public ModifyVpcEndpointServicePermissionsRequest withServiceId(String serviceId)
The ID of the service.
serviceId
- The ID of the service.public List<String> getAddAllowedPrincipals()
One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify *
to
allow all principals.
*
to allow all principals.public void setAddAllowedPrincipals(Collection<String> addAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify *
to
allow all principals.
addAllowedPrincipals
- One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify
*
to allow all principals.public ModifyVpcEndpointServicePermissionsRequest withAddAllowedPrincipals(String... addAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify *
to
allow all principals.
NOTE: This method appends the values to the existing list (if any). Use
setAddAllowedPrincipals(java.util.Collection)
or withAddAllowedPrincipals(java.util.Collection)
if you want to override the existing values.
addAllowedPrincipals
- One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify
*
to allow all principals.public ModifyVpcEndpointServicePermissionsRequest withAddAllowedPrincipals(Collection<String> addAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify *
to
allow all principals.
addAllowedPrincipals
- One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify
*
to allow all principals.public List<String> getRemoveAllowedPrincipals()
One or more Amazon Resource Names (ARNs) of principals for which to remove permission.
public void setRemoveAllowedPrincipals(Collection<String> removeAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to remove permission.
removeAllowedPrincipals
- One or more Amazon Resource Names (ARNs) of principals for which to remove permission.public ModifyVpcEndpointServicePermissionsRequest withRemoveAllowedPrincipals(String... removeAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to remove permission.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveAllowedPrincipals(java.util.Collection)
or
withRemoveAllowedPrincipals(java.util.Collection)
if you want to override the existing values.
removeAllowedPrincipals
- One or more Amazon Resource Names (ARNs) of principals for which to remove permission.public ModifyVpcEndpointServicePermissionsRequest withRemoveAllowedPrincipals(Collection<String> removeAllowedPrincipals)
One or more Amazon Resource Names (ARNs) of principals for which to remove permission.
removeAllowedPrincipals
- One or more Amazon Resource Names (ARNs) of principals for which to remove permission.public Request<ModifyVpcEndpointServicePermissionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVpcEndpointServicePermissionsRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyVpcEndpointServicePermissionsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.