Interface DeregisterInstanceEventNotificationAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeregisterInstanceEventNotificationAttributesResponse.Builder,,DeregisterInstanceEventNotificationAttributesResponse> Ec2Response.Builder,SdkBuilder<DeregisterInstanceEventNotificationAttributesResponse.Builder,,DeregisterInstanceEventNotificationAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeregisterInstanceEventNotificationAttributesResponse
@Mutable
@NotThreadSafe
public static interface DeregisterInstanceEventNotificationAttributesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DeregisterInstanceEventNotificationAttributesResponse.Builder,DeregisterInstanceEventNotificationAttributesResponse>
-
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
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instanceTagAttribute
DeregisterInstanceEventNotificationAttributesResponse.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 DeregisterInstanceEventNotificationAttributesResponse.Builder instanceTagAttribute(Consumer<InstanceTagNotificationAttribute.Builder> instanceTagAttribute) The resulting set of tag keys.
This is a convenience method that creates an instance of theInstanceTagNotificationAttribute.Builderavoiding the need to create one manually viaInstanceTagNotificationAttribute.builder().When the
Consumercompletes,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:
-