@Generated(value="software.amazon.awssdk:codegen") public final class ModifyVpcEndpointServicePermissionsRequest extends Ec2Request implements ToCopyableBuilder<ModifyVpcEndpointServicePermissionsRequest.Builder,ModifyVpcEndpointServicePermissionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyVpcEndpointServicePermissionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addAllowedPrincipals()
The Amazon Resource Names (ARN) of one or more principals.
|
static ModifyVpcEndpointServicePermissionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<String> |
removeAllowedPrincipals()
The Amazon Resource Names (ARN) of one or more principals.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyVpcEndpointServicePermissionsRequest.Builder> |
serializableBuilderClass() |
String |
serviceId()
The ID of the service.
|
ModifyVpcEndpointServicePermissionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String serviceId()
The ID of the service.
public List<String> addAllowedPrincipals()
The Amazon Resource Names (ARN) of one or more principals. Permissions are granted to the principals in this list. To grant permissions to all principals, specify an asterisk (*).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> removeAllowedPrincipals()
The Amazon Resource Names (ARN) of one or more principals. Permissions are revoked for principals in this list.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ModifyVpcEndpointServicePermissionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyVpcEndpointServicePermissionsRequest.Builder,ModifyVpcEndpointServicePermissionsRequest>toBuilder in class Ec2Requestpublic static ModifyVpcEndpointServicePermissionsRequest.Builder builder()
public static Class<? extends ModifyVpcEndpointServicePermissionsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.