@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAclRequest extends MemoryDbRequest implements ToCopyableBuilder<UpdateAclRequest.Builder,UpdateAclRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateAclRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
aclName()
The name of the Access Control List
|
static UpdateAclRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasUserNamesToAdd()
For responses, this returns true if the service returned a value for the UserNamesToAdd property.
|
boolean |
hasUserNamesToRemove()
For responses, this returns true if the service returned a value for the UserNamesToRemove property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateAclRequest.Builder> |
serializableBuilderClass() |
UpdateAclRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
userNamesToAdd()
The list of users to add to the Access Control List
|
List<String> |
userNamesToRemove()
The list of users to remove from the Access Control List
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String aclName()
The name of the Access Control List
public final boolean hasUserNamesToAdd()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> userNamesToAdd()
The list of users to add to the Access Control List
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUserNamesToAdd() method.
public final boolean hasUserNamesToRemove()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> userNamesToRemove()
The list of users to remove from the Access Control List
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUserNamesToRemove() method.
public UpdateAclRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateAclRequest.Builder,UpdateAclRequest>toBuilder in class MemoryDbRequestpublic static UpdateAclRequest.Builder builder()
public static Class<? extends UpdateAclRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.