Interface DescribeInstanceEventNotificationAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInstanceEventNotificationAttributesResponse.Builder,
,DescribeInstanceEventNotificationAttributesResponse> Ec2Response.Builder
,SdkBuilder<DescribeInstanceEventNotificationAttributesResponse.Builder,
,DescribeInstanceEventNotificationAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeInstanceEventNotificationAttributesResponse
public static interface DescribeInstanceEventNotificationAttributesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstanceEventNotificationAttributesResponse.Builder,DescribeInstanceEventNotificationAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceTagAttribute
(Consumer<InstanceTagNotificationAttribute.Builder> instanceTagAttribute) Information about the registered tag keys.instanceTagAttribute
(InstanceTagNotificationAttribute instanceTagAttribute) Information about the registered tag keys.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instanceTagAttribute
DescribeInstanceEventNotificationAttributesResponse.Builder instanceTagAttribute(InstanceTagNotificationAttribute instanceTagAttribute) Information about the registered tag keys.
- Parameters:
instanceTagAttribute
- Information about the registered tag keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTagAttribute
default DescribeInstanceEventNotificationAttributesResponse.Builder instanceTagAttribute(Consumer<InstanceTagNotificationAttribute.Builder> instanceTagAttribute) Information about the registered tag keys.
This is a convenience method that creates an instance of theInstanceTagNotificationAttribute.Builder
avoiding the need to create one manually viaInstanceTagNotificationAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceTagAttribute(InstanceTagNotificationAttribute)
.- Parameters:
instanceTagAttribute
- a consumer that will call methods onInstanceTagNotificationAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-