Interface KGKeyPairIds.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KGKeyPairIds.Builder,,KGKeyPairIds> SdkBuilder<KGKeyPairIds.Builder,,KGKeyPairIds> SdkPojo
- Enclosing class:
KGKeyPairIds
public static interface KGKeyPairIds.Builder
extends SdkPojo, CopyableBuilder<KGKeyPairIds.Builder,KGKeyPairIds>
-
Method Summary
Modifier and TypeMethodDescriptionkeyGroupId(String keyGroupId) The identifier of the key group that contains the public keys.default KGKeyPairIds.BuilderkeyPairIds(Consumer<KeyPairIds.Builder> keyPairIds) Sets the value of the KeyPairIds property for this object.keyPairIds(KeyPairIds keyPairIds) Sets the value of the KeyPairIds property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
keyGroupId
The identifier of the key group that contains the public keys.
- Parameters:
keyGroupId- The identifier of the key group that contains the public keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPairIds
Sets the value of the KeyPairIds property for this object.- Parameters:
keyPairIds- The new value for the KeyPairIds property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPairIds
Sets the value of the KeyPairIds property for this object. This is a convenience method that creates an instance of theKeyPairIds.Builderavoiding the need to create one manually viaKeyPairIds.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyPairIds(KeyPairIds).- Parameters:
keyPairIds- a consumer that will call methods onKeyPairIds.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-