CopyableBuilder<KeyPair.Builder,KeyPair>
, SdkBuilder<KeyPair.Builder,KeyPair>
public static interface KeyPair.Builder extends CopyableBuilder<KeyPair.Builder,KeyPair>
Modifier and Type | Method | Description |
---|---|---|
KeyPair.Builder |
arn(String arn) |
The Amazon Resource Name (ARN) of the key pair (e.g.,
arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE ). |
KeyPair.Builder |
createdAt(Date createdAt) |
The timestamp when the key pair was created (e.g.,
1479816991.349 ). |
KeyPair.Builder |
fingerprint(String fingerprint) |
The RSA fingerprint of the key pair.
|
KeyPair.Builder |
location(ResourceLocation location) |
The region name and Availability Zone where the key pair was created.
|
KeyPair.Builder |
name(String name) |
The friendly name of the SSH key pair.
|
KeyPair.Builder |
resourceType(String resourceType) |
The resource type (usually
KeyPair ). |
KeyPair.Builder |
resourceType(ResourceType resourceType) |
The resource type (usually
KeyPair ). |
KeyPair.Builder |
supportCode(String supportCode) |
The support code.
|
copy
apply, build
KeyPair.Builder name(String name)
The friendly name of the SSH key pair.
name
- The friendly name of the SSH key pair.KeyPair.Builder arn(String arn)
The Amazon Resource Name (ARN) of the key pair (e.g.,
arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE
).
arn
- The Amazon Resource Name (ARN) of the key pair (e.g.,
arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE
).KeyPair.Builder supportCode(String supportCode)
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
supportCode
- The support code. Include this code in your email to support when you have questions about an instance
or another resource in Lightsail. This code enables our support team to look up your Lightsail
information more easily.KeyPair.Builder createdAt(Date createdAt)
The timestamp when the key pair was created (e.g., 1479816991.349
).
createdAt
- The timestamp when the key pair was created (e.g., 1479816991.349
).KeyPair.Builder location(ResourceLocation location)
The region name and Availability Zone where the key pair was created.
location
- The region name and Availability Zone where the key pair was created.KeyPair.Builder resourceType(String resourceType)
The resource type (usually KeyPair
).
resourceType
- The resource type (usually KeyPair
).ResourceType
KeyPair.Builder resourceType(ResourceType resourceType)
The resource type (usually KeyPair
).
resourceType
- The resource type (usually KeyPair
).ResourceType
KeyPair.Builder fingerprint(String fingerprint)
The RSA fingerprint of the key pair.
fingerprint
- The RSA fingerprint of the key pair.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.