@Generated(value="software.amazon.awssdk:codegen") public class AssociateTeamMemberRequest extends CodeStarRequest implements ToCopyableBuilder<AssociateTeamMemberRequest.Builder,AssociateTeamMemberRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
AssociateTeamMemberRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static AssociateTeamMemberRequest.Builder |
builder() |
String |
clientRequestToken()
A user- or system-generated token that identifies the entity that requested the team member association to the
project.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
projectId()
The ID of the project to which you will add the IAM user.
|
String |
projectRole()
The AWS CodeStar project role that will apply to this user.
|
Boolean |
remoteAccessAllowed()
Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources,
for example Amazon EC2 instances.
|
static Class<? extends AssociateTeamMemberRequest.Builder> |
serializableBuilderClass() |
AssociateTeamMemberRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userArn()
The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.
|
requestOverrideConfig
copy
public String projectId()
The ID of the project to which you will add the IAM user.
public String clientRequestToken()
A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.
public String userArn()
The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.
public String projectRole()
The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.
public Boolean remoteAccessAllowed()
Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.
public AssociateTeamMemberRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AssociateTeamMemberRequest.Builder,AssociateTeamMemberRequest>
toBuilder
in class CodeStarRequest
public static AssociateTeamMemberRequest.Builder builder()
public static Class<? extends AssociateTeamMemberRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.