Interface UpdateSshPublicKeyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSshPublicKeyRequest.Builder,UpdateSshPublicKeyRequest>,IamRequest.Builder,SdkBuilder<UpdateSshPublicKeyRequest.Builder,UpdateSshPublicKeyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSshPublicKeyRequest
public static interface UpdateSshPublicKeyRequest.Builder extends IamRequest.Builder, SdkPojo, CopyableBuilder<UpdateSshPublicKeyRequest.Builder,UpdateSshPublicKeyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateSshPublicKeyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSshPublicKeyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateSshPublicKeyRequest.BuildersshPublicKeyId(String sshPublicKeyId)The unique identifier for the SSH public key.UpdateSshPublicKeyRequest.Builderstatus(String status)The status to assign to the SSH public key.UpdateSshPublicKeyRequest.Builderstatus(StatusType status)The status to assign to the SSH public key.UpdateSshPublicKeyRequest.BuilderuserName(String userName)The name of the IAM user associated with the SSH public key.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
userName
UpdateSshPublicKeyRequest.Builder userName(String userName)
The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
- Parameters:
userName- The name of the IAM user associated with the SSH public key.This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshPublicKeyId
UpdateSshPublicKeyRequest.Builder sshPublicKeyId(String sshPublicKeyId)
The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
- Parameters:
sshPublicKeyId- The unique identifier for the SSH public key.This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
UpdateSshPublicKeyRequest.Builder status(String status)
The status to assign to the SSH public key.
Activemeans that the key can be used for authentication with an CodeCommit repository.Inactivemeans that the key cannot be used.- Parameters:
status- The status to assign to the SSH public key.Activemeans that the key can be used for authentication with an CodeCommit repository.Inactivemeans that the key cannot be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
status
UpdateSshPublicKeyRequest.Builder status(StatusType status)
The status to assign to the SSH public key.
Activemeans that the key can be used for authentication with an CodeCommit repository.Inactivemeans that the key cannot be used.- Parameters:
status- The status to assign to the SSH public key.Activemeans that the key can be used for authentication with an CodeCommit repository.Inactivemeans that the key cannot be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
overrideConfiguration
UpdateSshPublicKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSshPublicKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-