public static interface InstanceDetails.Builder extends SdkPojo, CopyableBuilder<InstanceDetails.Builder,InstanceDetails>
Modifier and Type | Method and Description |
---|---|
InstanceDetails.Builder |
availabilityZone(String availabilityZone)
The Availability Zone of the EC2 instance.
|
default InstanceDetails.Builder |
iamInstanceProfile(Consumer<IamInstanceProfile.Builder> iamInstanceProfile)
The profile information of the EC2 instance.
|
InstanceDetails.Builder |
iamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The profile information of the EC2 instance.
|
InstanceDetails.Builder |
imageDescription(String imageDescription)
The image description of the EC2 instance.
|
InstanceDetails.Builder |
imageId(String imageId)
The image ID of the EC2 instance.
|
InstanceDetails.Builder |
instanceId(String instanceId)
The ID of the EC2 instance.
|
InstanceDetails.Builder |
instanceState(String instanceState)
The state of the EC2 instance.
|
InstanceDetails.Builder |
instanceType(String instanceType)
The type of the EC2 instance.
|
InstanceDetails.Builder |
launchTime(String launchTime)
The launch time of the EC2 instance.
|
InstanceDetails.Builder |
networkInterfaces(Collection<NetworkInterface> networkInterfaces)
The elastic network interface information of the EC2 instance.
|
InstanceDetails.Builder |
networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
The elastic network interface information of the EC2 instance.
|
InstanceDetails.Builder |
networkInterfaces(NetworkInterface... networkInterfaces)
The elastic network interface information of the EC2 instance.
|
InstanceDetails.Builder |
outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the AWS Outpost.
|
InstanceDetails.Builder |
platform(String platform)
The platform of the EC2 instance.
|
InstanceDetails.Builder |
productCodes(Collection<ProductCode> productCodes)
The product code of the EC2 instance.
|
InstanceDetails.Builder |
productCodes(Consumer<ProductCode.Builder>... productCodes)
The product code of the EC2 instance.
|
InstanceDetails.Builder |
productCodes(ProductCode... productCodes)
The product code of the EC2 instance.
|
InstanceDetails.Builder |
tags(Collection<Tag> tags)
The tags of the EC2 instance.
|
InstanceDetails.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags of the EC2 instance.
|
InstanceDetails.Builder |
tags(Tag... tags)
The tags of the EC2 instance.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
InstanceDetails.Builder availabilityZone(String availabilityZone)
The Availability Zone of the EC2 instance.
availabilityZone
- The Availability Zone of the EC2 instance.InstanceDetails.Builder iamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The profile information of the EC2 instance.
iamInstanceProfile
- The profile information of the EC2 instance.default InstanceDetails.Builder iamInstanceProfile(Consumer<IamInstanceProfile.Builder> iamInstanceProfile)
The profile information of the EC2 instance.
This is a convenience that creates an instance of theIamInstanceProfile.Builder
avoiding the need to
create one manually via IamInstanceProfile.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to iamInstanceProfile(IamInstanceProfile)
.iamInstanceProfile
- a consumer that will call methods on IamInstanceProfile.Builder
iamInstanceProfile(IamInstanceProfile)
InstanceDetails.Builder imageDescription(String imageDescription)
The image description of the EC2 instance.
imageDescription
- The image description of the EC2 instance.InstanceDetails.Builder imageId(String imageId)
The image ID of the EC2 instance.
imageId
- The image ID of the EC2 instance.InstanceDetails.Builder instanceId(String instanceId)
The ID of the EC2 instance.
instanceId
- The ID of the EC2 instance.InstanceDetails.Builder instanceState(String instanceState)
The state of the EC2 instance.
instanceState
- The state of the EC2 instance.InstanceDetails.Builder instanceType(String instanceType)
The type of the EC2 instance.
instanceType
- The type of the EC2 instance.InstanceDetails.Builder outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the AWS Outpost. Only applicable to AWS Outposts instances.
outpostArn
- The Amazon Resource Name (ARN) of the AWS Outpost. Only applicable to AWS Outposts instances.InstanceDetails.Builder launchTime(String launchTime)
The launch time of the EC2 instance.
launchTime
- The launch time of the EC2 instance.InstanceDetails.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)
The elastic network interface information of the EC2 instance.
networkInterfaces
- The elastic network interface information of the EC2 instance.InstanceDetails.Builder networkInterfaces(NetworkInterface... networkInterfaces)
The elastic network interface information of the EC2 instance.
networkInterfaces
- The elastic network interface information of the EC2 instance.InstanceDetails.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
The elastic network interface information of the EC2 instance.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #networkInterfaces(List)
.networkInterfaces
- a consumer that will call methods on List.Builder
#networkInterfaces(List)
InstanceDetails.Builder platform(String platform)
The platform of the EC2 instance.
platform
- The platform of the EC2 instance.InstanceDetails.Builder productCodes(Collection<ProductCode> productCodes)
The product code of the EC2 instance.
productCodes
- The product code of the EC2 instance.InstanceDetails.Builder productCodes(ProductCode... productCodes)
The product code of the EC2 instance.
productCodes
- The product code of the EC2 instance.InstanceDetails.Builder productCodes(Consumer<ProductCode.Builder>... productCodes)
The product code of the EC2 instance.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #productCodes(List)
.productCodes
- a consumer that will call methods on List.Builder
#productCodes(List)
InstanceDetails.Builder tags(Collection<Tag> tags)
The tags of the EC2 instance.
tags
- The tags of the EC2 instance.InstanceDetails.Builder tags(Tag... tags)
The tags of the EC2 instance.
tags
- The tags of the EC2 instance.InstanceDetails.Builder tags(Consumer<Tag.Builder>... tags)
The tags of the EC2 instance.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)