Interface DescribeInstanceAttributeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeInstanceAttributeResponse.Builder,DescribeInstanceAttributeResponse>,Ec2Response.Builder,SdkBuilder<DescribeInstanceAttributeResponse.Builder,DescribeInstanceAttributeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeInstanceAttributeResponse
public static interface DescribeInstanceAttributeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstanceAttributeResponse.Builder,DescribeInstanceAttributeResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
blockDeviceMappings
DescribeInstanceAttributeResponse.Builder blockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mapping of the instance.
- Parameters:
blockDeviceMappings- The block device mapping of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
DescribeInstanceAttributeResponse.Builder blockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
The block device mapping of the instance.
- Parameters:
blockDeviceMappings- The block device mapping of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
DescribeInstanceAttributeResponse.Builder blockDeviceMappings(Consumer<InstanceBlockDeviceMapping.Builder>... blockDeviceMappings)
The block device mapping of the instance.
This is a convenience method that creates an instance of theInstanceBlockDeviceMapping.Builderavoiding the need to create one manually viaInstanceBlockDeviceMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#blockDeviceMappings(List.) - Parameters:
blockDeviceMappings- a consumer that will call methods onInstanceBlockDeviceMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#blockDeviceMappings(java.util.Collection)
-
disableApiTermination
DescribeInstanceAttributeResponse.Builder disableApiTermination(AttributeBooleanValue disableApiTermination)
Indicates whether termination protection is enabled. If the value is
true, you can't terminate the instance using the Amazon EC2 console, command line tools, or API.- Parameters:
disableApiTermination- Indicates whether termination protection is enabled. If the value istrue, you can't terminate the instance using the Amazon EC2 console, command line tools, or API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disableApiTermination
default DescribeInstanceAttributeResponse.Builder disableApiTermination(Consumer<AttributeBooleanValue.Builder> disableApiTermination)
Indicates whether termination protection is enabled. If the value is
This is a convenience method that creates an instance of thetrue, you can't terminate the instance using the Amazon EC2 console, command line tools, or API.AttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisableApiTermination(AttributeBooleanValue).- Parameters:
disableApiTermination- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
disableApiTermination(AttributeBooleanValue)
-
enaSupport
DescribeInstanceAttributeResponse.Builder enaSupport(AttributeBooleanValue enaSupport)
Indicates whether enhanced networking with ENA is enabled.
- Parameters:
enaSupport- Indicates whether enhanced networking with ENA is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enaSupport
default DescribeInstanceAttributeResponse.Builder enaSupport(Consumer<AttributeBooleanValue.Builder> enaSupport)
Indicates whether enhanced networking with ENA is enabled.
This is a convenience method that creates an instance of theAttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenaSupport(AttributeBooleanValue).- Parameters:
enaSupport- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
enaSupport(AttributeBooleanValue)
-
enclaveOptions
DescribeInstanceAttributeResponse.Builder enclaveOptions(EnclaveOptions enclaveOptions)
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
- Parameters:
enclaveOptions- Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enclaveOptions
default DescribeInstanceAttributeResponse.Builder enclaveOptions(Consumer<EnclaveOptions.Builder> enclaveOptions)
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
This is a convenience method that creates an instance of theEnclaveOptions.Builderavoiding the need to create one manually viaEnclaveOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenclaveOptions(EnclaveOptions).- Parameters:
enclaveOptions- a consumer that will call methods onEnclaveOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
enclaveOptions(EnclaveOptions)
-
ebsOptimized
DescribeInstanceAttributeResponse.Builder ebsOptimized(AttributeBooleanValue ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
- Parameters:
ebsOptimized- Indicates whether the instance is optimized for Amazon EBS I/O.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsOptimized
default DescribeInstanceAttributeResponse.Builder ebsOptimized(Consumer<AttributeBooleanValue.Builder> ebsOptimized)
Indicates whether the instance is optimized for Amazon EBS I/O.
This is a convenience method that creates an instance of theAttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toebsOptimized(AttributeBooleanValue).- Parameters:
ebsOptimized- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ebsOptimized(AttributeBooleanValue)
-
instanceId
DescribeInstanceAttributeResponse.Builder instanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInitiatedShutdownBehavior
DescribeInstanceAttributeResponse.Builder instanceInitiatedShutdownBehavior(AttributeValue instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
- Parameters:
instanceInitiatedShutdownBehavior- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInitiatedShutdownBehavior
default DescribeInstanceAttributeResponse.Builder instanceInitiatedShutdownBehavior(Consumer<AttributeValue.Builder> instanceInitiatedShutdownBehavior)
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
This is a convenience method that creates an instance of theAttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceInitiatedShutdownBehavior(AttributeValue).- Parameters:
instanceInitiatedShutdownBehavior- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceInitiatedShutdownBehavior(AttributeValue)
-
instanceType
DescribeInstanceAttributeResponse.Builder instanceType(AttributeValue instanceType)
The instance type.
- Parameters:
instanceType- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
default DescribeInstanceAttributeResponse.Builder instanceType(Consumer<AttributeValue.Builder> instanceType)
The instance type.
This is a convenience method that creates an instance of theAttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceType(AttributeValue).- Parameters:
instanceType- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceType(AttributeValue)
-
kernelId
DescribeInstanceAttributeResponse.Builder kernelId(AttributeValue kernelId)
The kernel ID.
- Parameters:
kernelId- The kernel ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kernelId
default DescribeInstanceAttributeResponse.Builder kernelId(Consumer<AttributeValue.Builder> kernelId)
The kernel ID.
This is a convenience method that creates an instance of theAttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokernelId(AttributeValue).- Parameters:
kernelId- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
kernelId(AttributeValue)
-
productCodes
DescribeInstanceAttributeResponse.Builder productCodes(Collection<ProductCode> productCodes)
The product codes.
- Parameters:
productCodes- The product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
DescribeInstanceAttributeResponse.Builder productCodes(ProductCode... productCodes)
The product codes.
- Parameters:
productCodes- The product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
DescribeInstanceAttributeResponse.Builder productCodes(Consumer<ProductCode.Builder>... productCodes)
The product codes.
This is a convenience method that creates an instance of theProductCode.Builderavoiding the need to create one manually viaProductCode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#productCodes(List.) - Parameters:
productCodes- a consumer that will call methods onProductCode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#productCodes(java.util.Collection)
-
ramdiskId
DescribeInstanceAttributeResponse.Builder ramdiskId(AttributeValue ramdiskId)
The RAM disk ID.
- Parameters:
ramdiskId- The RAM disk ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ramdiskId
default DescribeInstanceAttributeResponse.Builder ramdiskId(Consumer<AttributeValue.Builder> ramdiskId)
The RAM disk ID.
This is a convenience method that creates an instance of theAttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toramdiskId(AttributeValue).- Parameters:
ramdiskId- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ramdiskId(AttributeValue)
-
rootDeviceName
DescribeInstanceAttributeResponse.Builder rootDeviceName(AttributeValue rootDeviceName)
The device name of the root device volume (for example,
/dev/sda1).- Parameters:
rootDeviceName- The device name of the root device volume (for example,/dev/sda1).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootDeviceName
default DescribeInstanceAttributeResponse.Builder rootDeviceName(Consumer<AttributeValue.Builder> rootDeviceName)
The device name of the root device volume (for example,
This is a convenience method that creates an instance of the/dev/sda1).AttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torootDeviceName(AttributeValue).- Parameters:
rootDeviceName- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rootDeviceName(AttributeValue)
-
sourceDestCheck
DescribeInstanceAttributeResponse.Builder sourceDestCheck(AttributeBooleanValue sourceDestCheck)
Indicates whether source/destination checks are enabled.
- Parameters:
sourceDestCheck- Indicates whether source/destination checks are enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDestCheck
default DescribeInstanceAttributeResponse.Builder sourceDestCheck(Consumer<AttributeBooleanValue.Builder> sourceDestCheck)
Indicates whether source/destination checks are enabled.
This is a convenience method that creates an instance of theAttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceDestCheck(AttributeBooleanValue).- Parameters:
sourceDestCheck- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceDestCheck(AttributeBooleanValue)
-
sriovNetSupport
DescribeInstanceAttributeResponse.Builder sriovNetSupport(AttributeValue sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
- Parameters:
sriovNetSupport- Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sriovNetSupport
default DescribeInstanceAttributeResponse.Builder sriovNetSupport(Consumer<AttributeValue.Builder> sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
This is a convenience method that creates an instance of theAttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosriovNetSupport(AttributeValue).- Parameters:
sriovNetSupport- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sriovNetSupport(AttributeValue)
-
userData
DescribeInstanceAttributeResponse.Builder userData(AttributeValue userData)
The user data.
- Parameters:
userData- The user data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userData
default DescribeInstanceAttributeResponse.Builder userData(Consumer<AttributeValue.Builder> userData)
The user data.
This is a convenience method that creates an instance of theAttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserData(AttributeValue).- Parameters:
userData- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userData(AttributeValue)
-
disableApiStop
DescribeInstanceAttributeResponse.Builder disableApiStop(AttributeBooleanValue disableApiStop)
Indicates whether stop protection is enabled for the instance.
- Parameters:
disableApiStop- Indicates whether stop protection is enabled for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disableApiStop
default DescribeInstanceAttributeResponse.Builder disableApiStop(Consumer<AttributeBooleanValue.Builder> disableApiStop)
Indicates whether stop protection is enabled for the instance.
This is a convenience method that creates an instance of theAttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisableApiStop(AttributeBooleanValue).- Parameters:
disableApiStop- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
disableApiStop(AttributeBooleanValue)
-
groups
DescribeInstanceAttributeResponse.Builder groups(Collection<GroupIdentifier> groups)
The security groups associated with the instance.
- Parameters:
groups- The security groups associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
DescribeInstanceAttributeResponse.Builder groups(GroupIdentifier... groups)
The security groups associated with the instance.
- Parameters:
groups- The security groups associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
DescribeInstanceAttributeResponse.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
The security groups associated with the instance.
This is a convenience method that creates an instance of theGroupIdentifier.Builderavoiding the need to create one manually viaGroupIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#groups(List.) - Parameters:
groups- a consumer that will call methods onGroupIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groups(java.util.Collection)
-
-