Class UpdateEnvironmentMembershipRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloud9.model.Cloud9Request
-
- software.amazon.awssdk.services.cloud9.model.UpdateEnvironmentMembershipRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateEnvironmentMembershipRequest.Builder,UpdateEnvironmentMembershipRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateEnvironmentMembershipRequest extends Cloud9Request implements ToCopyableBuilder<UpdateEnvironmentMembershipRequest.Builder,UpdateEnvironmentMembershipRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateEnvironmentMembershipRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateEnvironmentMembershipRequest.Builderbuilder()StringenvironmentId()The ID of the environment for the environment member whose settings you want to change.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MemberPermissionspermissions()The replacement type of environment member permissions you want to associate with this environment member.StringpermissionsAsString()The replacement type of environment member permissions you want to associate with this environment member.List<SdkField<?>>sdkFields()static Class<? extends UpdateEnvironmentMembershipRequest.Builder>serializableBuilderClass()UpdateEnvironmentMembershipRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserArn()The Amazon Resource Name (ARN) of the environment member whose settings you want to change.-
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
-
environmentId
public final String environmentId()
The ID of the environment for the environment member whose settings you want to change.
- Returns:
- The ID of the environment for the environment member whose settings you want to change.
-
userArn
public final String userArn()
The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
- Returns:
- The Amazon Resource Name (ARN) of the environment member whose settings you want to change.
-
permissions
public final MemberPermissions permissions()
The replacement type of environment member permissions you want to associate with this environment member. Available values include:
-
read-only: Has read-only access to the environment. -
read-write: Has read-write access to the environment.
If the service returns an enum value that is not available in the current SDK version,
permissionswill returnMemberPermissions.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionsAsString().- Returns:
- The replacement type of environment member permissions you want to associate with this environment
member. Available values include:
-
read-only: Has read-only access to the environment. -
read-write: Has read-write access to the environment.
-
- See Also:
MemberPermissions
-
-
permissionsAsString
public final String permissionsAsString()
The replacement type of environment member permissions you want to associate with this environment member. Available values include:
-
read-only: Has read-only access to the environment. -
read-write: Has read-write access to the environment.
If the service returns an enum value that is not available in the current SDK version,
permissionswill returnMemberPermissions.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionsAsString().- Returns:
- The replacement type of environment member permissions you want to associate with this environment
member. Available values include:
-
read-only: Has read-only access to the environment. -
read-write: Has read-write access to the environment.
-
- See Also:
MemberPermissions
-
-
toBuilder
public UpdateEnvironmentMembershipRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateEnvironmentMembershipRequest.Builder,UpdateEnvironmentMembershipRequest>- Specified by:
toBuilderin classCloud9Request
-
builder
public static UpdateEnvironmentMembershipRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateEnvironmentMembershipRequest.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
-
-