Class CreateRoleMembershipRequest
- 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.CreateRoleMembershipRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateRoleMembershipRequest.Builder,CreateRoleMembershipRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateRoleMembershipRequest extends QuickSightRequest implements ToCopyableBuilder<CreateRoleMembershipRequest.Builder,CreateRoleMembershipRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateRoleMembershipRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsAccountId()The ID for the Amazon Web Services account that you want to create a group in.static CreateRoleMembershipRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmemberName()The name of the group that you want to add to the role.Stringnamespace()The namespace that the role belongs to.Rolerole()The role that you want to add a group to.StringroleAsString()The role that you want to add a group to.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateRoleMembershipRequest.Builder>serializableBuilderClass()CreateRoleMembershipRequest.BuildertoBuilder()StringtoString()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
-
memberName
public final String memberName()
The name of the group that you want to add to the role.
- Returns:
- The name of the group that you want to add to the 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 the role belongs to.
- Returns:
- The namespace that the role belongs to.
-
role
public final Role role()
The role that you want to add a group to.
If the service returns an enum value that is not available in the current SDK version,
rolewill returnRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleAsString().- Returns:
- The role that you want to add a group to.
- See Also:
Role
-
roleAsString
public final String roleAsString()
The role that you want to add a group to.
If the service returns an enum value that is not available in the current SDK version,
rolewill returnRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromroleAsString().- Returns:
- The role that you want to add a group to.
- See Also:
Role
-
toBuilder
public CreateRoleMembershipRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateRoleMembershipRequest.Builder,CreateRoleMembershipRequest>- Specified by:
toBuilderin classQuickSightRequest
-
builder
public static CreateRoleMembershipRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateRoleMembershipRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-