Interface PublicKeySummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PublicKeySummary.Builder,PublicKeySummary>
,SdkBuilder<PublicKeySummary.Builder,PublicKeySummary>
,SdkPojo
- Enclosing class:
- PublicKeySummary
public static interface PublicKeySummary.Builder extends SdkPojo, CopyableBuilder<PublicKeySummary.Builder,PublicKeySummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicKeySummary.Builder
comment(String comment)
A comment to describe the public key.PublicKeySummary.Builder
createdTime(Instant createdTime)
The date and time when the public key was uploaded.PublicKeySummary.Builder
encodedKey(String encodedKey)
The public key.PublicKeySummary.Builder
id(String id)
The identifier of the public key.PublicKeySummary.Builder
name(String name)
A name to help identify the public key.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
id
PublicKeySummary.Builder id(String id)
The identifier of the public key.
- Parameters:
id
- The identifier of the public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
PublicKeySummary.Builder name(String name)
A name to help identify the public key.
- Parameters:
name
- A name to help identify the public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
PublicKeySummary.Builder createdTime(Instant createdTime)
The date and time when the public key was uploaded.
- Parameters:
createdTime
- The date and time when the public key was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encodedKey
PublicKeySummary.Builder encodedKey(String encodedKey)
The public key.
- Parameters:
encodedKey
- The public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
PublicKeySummary.Builder comment(String comment)
A comment to describe the public key. The comment cannot be longer than 128 characters.
- Parameters:
comment
- A comment to describe the public key. The comment cannot be longer than 128 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-