Interface GetSshPublicKeyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetSshPublicKeyRequest.Builder,GetSshPublicKeyRequest>,IamRequest.Builder,SdkBuilder<GetSshPublicKeyRequest.Builder,GetSshPublicKeyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetSshPublicKeyRequest
public static interface GetSshPublicKeyRequest.Builder extends IamRequest.Builder, SdkPojo, CopyableBuilder<GetSshPublicKeyRequest.Builder,GetSshPublicKeyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetSshPublicKeyRequest.Builderencoding(String encoding)Specifies the public key encoding format to use in the response.GetSshPublicKeyRequest.Builderencoding(EncodingType encoding)Specifies the public key encoding format to use in the response.GetSshPublicKeyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetSshPublicKeyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetSshPublicKeyRequest.BuildersshPublicKeyId(String sshPublicKeyId)The unique identifier for the SSH public key.GetSshPublicKeyRequest.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
GetSshPublicKeyRequest.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
GetSshPublicKeyRequest.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.
-
encoding
GetSshPublicKeyRequest.Builder encoding(String encoding)
Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use
SSH. To retrieve the public key in PEM format, usePEM.- Parameters:
encoding- Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, useSSH. To retrieve the public key in PEM format, usePEM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncodingType,EncodingType
-
encoding
GetSshPublicKeyRequest.Builder encoding(EncodingType encoding)
Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use
SSH. To retrieve the public key in PEM format, usePEM.- Parameters:
encoding- Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, useSSH. To retrieve the public key in PEM format, usePEM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncodingType,EncodingType
-
overrideConfiguration
GetSshPublicKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetSshPublicKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-