Class CreateEnvironmentMembershipRequest
- 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.CreateEnvironmentMembershipRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateEnvironmentMembershipRequest.Builder,CreateEnvironmentMembershipRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateEnvironmentMembershipRequest extends Cloud9Request implements ToCopyableBuilder<CreateEnvironmentMembershipRequest.Builder,CreateEnvironmentMembershipRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateEnvironmentMembershipRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateEnvironmentMembershipRequest.Builderbuilder()StringenvironmentId()The ID of the environment that contains the environment member you want to add.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MemberPermissionspermissions()The type of environment member permissions you want to associate with this environment member.StringpermissionsAsString()The type of environment member permissions you want to associate with this environment member.List<SdkField<?>>sdkFields()static Class<? extends CreateEnvironmentMembershipRequest.Builder>serializableBuilderClass()CreateEnvironmentMembershipRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserArn()The Amazon Resource Name (ARN) of the environment member you want to add.-
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 that contains the environment member you want to add.
- Returns:
- The ID of the environment that contains the environment member you want to add.
-
userArn
public final String userArn()
The Amazon Resource Name (ARN) of the environment member you want to add.
- Returns:
- The Amazon Resource Name (ARN) of the environment member you want to add.
-
permissions
public final MemberPermissions permissions()
The 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 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 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 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 CreateEnvironmentMembershipRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateEnvironmentMembershipRequest.Builder,CreateEnvironmentMembershipRequest>- Specified by:
toBuilderin classCloud9Request
-
builder
public static CreateEnvironmentMembershipRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateEnvironmentMembershipRequest.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
-
-