public static interface AwsEc2InstanceDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2InstanceDetails.Builder,AwsEc2InstanceDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEc2InstanceDetails.Builder |
iamInstanceProfileArn(String iamInstanceProfileArn)
The IAM profile ARN of the instance.
|
AwsEc2InstanceDetails.Builder |
imageId(String imageId)
The Amazon Machine Image (AMI) ID of the instance.
|
AwsEc2InstanceDetails.Builder |
ipV4Addresses(Collection<String> ipV4Addresses)
The IPv4 addresses associated with the instance.
|
AwsEc2InstanceDetails.Builder |
ipV4Addresses(String... ipV4Addresses)
The IPv4 addresses associated with the instance.
|
AwsEc2InstanceDetails.Builder |
ipV6Addresses(Collection<String> ipV6Addresses)
The IPv6 addresses associated with the instance.
|
AwsEc2InstanceDetails.Builder |
ipV6Addresses(String... ipV6Addresses)
The IPv6 addresses associated with the instance.
|
AwsEc2InstanceDetails.Builder |
keyName(String keyName)
The key name associated with the instance.
|
AwsEc2InstanceDetails.Builder |
launchedAt(String launchedAt)
Indicates when the instance was launched.
|
AwsEc2InstanceDetails.Builder |
metadataOptions(AwsEc2InstanceMetadataOptions metadataOptions)
Details about the metadata options for the Amazon EC2 instance.
|
default AwsEc2InstanceDetails.Builder |
metadataOptions(Consumer<AwsEc2InstanceMetadataOptions.Builder> metadataOptions)
Details about the metadata options for the Amazon EC2 instance.
|
AwsEc2InstanceDetails.Builder |
monitoring(AwsEc2InstanceMonitoringDetails monitoring)
Describes the type of monitoring that’s turned on for an instance.
|
default AwsEc2InstanceDetails.Builder |
monitoring(Consumer<AwsEc2InstanceMonitoringDetails.Builder> monitoring)
Describes the type of monitoring that’s turned on for an instance.
|
AwsEc2InstanceDetails.Builder |
networkInterfaces(AwsEc2InstanceNetworkInterfacesDetails... networkInterfaces)
The identifiers of the network interfaces for the EC2 instance.
|
AwsEc2InstanceDetails.Builder |
networkInterfaces(Collection<AwsEc2InstanceNetworkInterfacesDetails> networkInterfaces)
The identifiers of the network interfaces for the EC2 instance.
|
AwsEc2InstanceDetails.Builder |
networkInterfaces(Consumer<AwsEc2InstanceNetworkInterfacesDetails.Builder>... networkInterfaces)
The identifiers of the network interfaces for the EC2 instance.
|
AwsEc2InstanceDetails.Builder |
subnetId(String subnetId)
The identifier of the subnet that the instance was launched in.
|
AwsEc2InstanceDetails.Builder |
type(String type)
The instance type of the instance.
|
AwsEc2InstanceDetails.Builder |
virtualizationType(String virtualizationType)
The virtualization type of the Amazon Machine Image (AMI) required to launch the instance.
|
AwsEc2InstanceDetails.Builder |
vpcId(String vpcId)
The identifier of the VPC that the instance was launched in.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2InstanceDetails.Builder type(String type)
The instance type of the instance.
type - The instance type of the instance.AwsEc2InstanceDetails.Builder imageId(String imageId)
The Amazon Machine Image (AMI) ID of the instance.
imageId - The Amazon Machine Image (AMI) ID of the instance.AwsEc2InstanceDetails.Builder ipV4Addresses(Collection<String> ipV4Addresses)
The IPv4 addresses associated with the instance.
ipV4Addresses - The IPv4 addresses associated with the instance.AwsEc2InstanceDetails.Builder ipV4Addresses(String... ipV4Addresses)
The IPv4 addresses associated with the instance.
ipV4Addresses - The IPv4 addresses associated with the instance.AwsEc2InstanceDetails.Builder ipV6Addresses(Collection<String> ipV6Addresses)
The IPv6 addresses associated with the instance.
ipV6Addresses - The IPv6 addresses associated with the instance.AwsEc2InstanceDetails.Builder ipV6Addresses(String... ipV6Addresses)
The IPv6 addresses associated with the instance.
ipV6Addresses - The IPv6 addresses associated with the instance.AwsEc2InstanceDetails.Builder keyName(String keyName)
The key name associated with the instance.
keyName - The key name associated with the instance.AwsEc2InstanceDetails.Builder iamInstanceProfileArn(String iamInstanceProfileArn)
The IAM profile ARN of the instance.
iamInstanceProfileArn - The IAM profile ARN of the instance.AwsEc2InstanceDetails.Builder vpcId(String vpcId)
The identifier of the VPC that the instance was launched in.
vpcId - The identifier of the VPC that the instance was launched in.AwsEc2InstanceDetails.Builder subnetId(String subnetId)
The identifier of the subnet that the instance was launched in.
subnetId - The identifier of the subnet that the instance was launched in.AwsEc2InstanceDetails.Builder launchedAt(String launchedAt)
Indicates when the instance was launched.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces, and date and time should be separated by T. For example,
2020-03-22T13:22:13.933Z.
launchedAt - Indicates when the instance was launched.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T.
For example, 2020-03-22T13:22:13.933Z.
AwsEc2InstanceDetails.Builder networkInterfaces(Collection<AwsEc2InstanceNetworkInterfacesDetails> networkInterfaces)
The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in
a corresponding AwsEc2NetworkInterfacesDetails object.
networkInterfaces - The identifiers of the network interfaces for the EC2 instance. The details for each network interface
are in a corresponding AwsEc2NetworkInterfacesDetails object.AwsEc2InstanceDetails.Builder networkInterfaces(AwsEc2InstanceNetworkInterfacesDetails... networkInterfaces)
The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in
a corresponding AwsEc2NetworkInterfacesDetails object.
networkInterfaces - The identifiers of the network interfaces for the EC2 instance. The details for each network interface
are in a corresponding AwsEc2NetworkInterfacesDetails object.AwsEc2InstanceDetails.Builder networkInterfaces(Consumer<AwsEc2InstanceNetworkInterfacesDetails.Builder>... networkInterfaces)
The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in
a corresponding AwsEc2NetworkInterfacesDetails object.
AwsEc2InstanceNetworkInterfacesDetails.Builder
avoiding the need to create one manually via
AwsEc2InstanceNetworkInterfacesDetails.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #networkInterfaces(List.
networkInterfaces - a consumer that will call methods on
AwsEc2InstanceNetworkInterfacesDetails.Builder#networkInterfaces(java.util.Collection) AwsEc2InstanceDetails.Builder virtualizationType(String virtualizationType)
The virtualization type of the Amazon Machine Image (AMI) required to launch the instance.
virtualizationType - The virtualization type of the Amazon Machine Image (AMI) required to launch the instance.AwsEc2InstanceDetails.Builder metadataOptions(AwsEc2InstanceMetadataOptions metadataOptions)
Details about the metadata options for the Amazon EC2 instance.
metadataOptions - Details about the metadata options for the Amazon EC2 instance.default AwsEc2InstanceDetails.Builder metadataOptions(Consumer<AwsEc2InstanceMetadataOptions.Builder> metadataOptions)
Details about the metadata options for the Amazon EC2 instance.
This is a convenience method that creates an instance of theAwsEc2InstanceMetadataOptions.Builder
avoiding the need to create one manually via AwsEc2InstanceMetadataOptions.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to metadataOptions(AwsEc2InstanceMetadataOptions).
metadataOptions - a consumer that will call methods on AwsEc2InstanceMetadataOptions.BuildermetadataOptions(AwsEc2InstanceMetadataOptions)AwsEc2InstanceDetails.Builder monitoring(AwsEc2InstanceMonitoringDetails monitoring)
Describes the type of monitoring that’s turned on for an instance.
monitoring - Describes the type of monitoring that’s turned on for an instance.default AwsEc2InstanceDetails.Builder monitoring(Consumer<AwsEc2InstanceMonitoringDetails.Builder> monitoring)
Describes the type of monitoring that’s turned on for an instance.
This is a convenience method that creates an instance of theAwsEc2InstanceMonitoringDetails.Builder
avoiding the need to create one manually via AwsEc2InstanceMonitoringDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to monitoring(AwsEc2InstanceMonitoringDetails).
monitoring - a consumer that will call methods on AwsEc2InstanceMonitoringDetails.Buildermonitoring(AwsEc2InstanceMonitoringDetails)Copyright © 2023. All rights reserved.