@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) |
boolean |
hasAddAllowedPrincipals()
Returns true if the AddAllowedPrincipals property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRemoveAllowedPrincipals()
Returns true if the RemoveAllowedPrincipals property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
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 boolean hasAddAllowedPrincipals()
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.
You can use hasAddAllowedPrincipals() to see if a value was sent in this field.
public boolean hasRemoveAllowedPrincipals()
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.
You can use hasRemoveAllowedPrincipals() to see if a value was sent in this field.
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.