Interface RegisterInstanceEventNotificationAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RegisterInstanceEventNotificationAttributesResponse.Builder,
,RegisterInstanceEventNotificationAttributesResponse> Ec2Response.Builder
,SdkBuilder<RegisterInstanceEventNotificationAttributesResponse.Builder,
,RegisterInstanceEventNotificationAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RegisterInstanceEventNotificationAttributesResponse
public static interface RegisterInstanceEventNotificationAttributesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<RegisterInstanceEventNotificationAttributesResponse.Builder,RegisterInstanceEventNotificationAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceTagAttribute
(Consumer<InstanceTagNotificationAttribute.Builder> instanceTagAttribute) The resulting set of tag keys.instanceTagAttribute
(InstanceTagNotificationAttribute instanceTagAttribute) The resulting set of 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
RegisterInstanceEventNotificationAttributesResponse.Builder instanceTagAttribute(InstanceTagNotificationAttribute instanceTagAttribute) The resulting set of tag keys.
- Parameters:
instanceTagAttribute
- The resulting set of tag keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTagAttribute
default RegisterInstanceEventNotificationAttributesResponse.Builder instanceTagAttribute(Consumer<InstanceTagNotificationAttribute.Builder> instanceTagAttribute) The resulting set of 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:
-