Class UpdateRoleCustomPermissionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.quicksight.model.QuickSightRequest
-
- software.amazon.awssdk.services.quicksight.model.UpdateRoleCustomPermissionRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateRoleCustomPermissionRequest.Builder,UpdateRoleCustomPermissionRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateRoleCustomPermissionRequest extends QuickSightRequest implements ToCopyableBuilder<UpdateRoleCustomPermissionRequest.Builder,UpdateRoleCustomPermissionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateRoleCustomPermissionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
awsAccountId()
The ID for the Amazon Web Services account that you want to create a group in.static UpdateRoleCustomPermissionRequest.Builder
builder()
String
customPermissionsName()
The name of the custom permission that you want to update the role with.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
namespace()
The namespace that contains the role that you want to update.Role
role()
The name of role tht you want to update.String
roleAsString()
The name of role tht you want to update.List<SdkField<?>>
sdkFields()
static Class<? extends UpdateRoleCustomPermissionRequest.Builder>
serializableBuilderClass()
UpdateRoleCustomPermissionRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
customPermissionsName
public final String customPermissionsName()
The name of the custom permission that you want to update the role with.
- Returns:
- The name of the custom permission that you want to update the role with.
-
role
public final Role role()
The name of role tht you want to update.
If the service returns an enum value that is not available in the current SDK version,
role
will returnRole.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromroleAsString()
.- Returns:
- The name of role tht you want to update.
- See Also:
Role
-
roleAsString
public final String roleAsString()
The name of role tht you want to update.
If the service returns an enum value that is not available in the current SDK version,
role
will returnRole.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromroleAsString()
.- Returns:
- The name of role tht you want to update.
- See Also:
Role
-
awsAccountId
public final String awsAccountId()
The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
- Returns:
- The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
-
namespace
public final String namespace()
The namespace that contains the role that you want to update.
- Returns:
- The namespace that contains the role that you want to update.
-
toBuilder
public UpdateRoleCustomPermissionRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateRoleCustomPermissionRequest.Builder,UpdateRoleCustomPermissionRequest>
- Specified by:
toBuilder
in classQuickSightRequest
-
builder
public static UpdateRoleCustomPermissionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateRoleCustomPermissionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-