Interface GetManagedResourceVisibilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetManagedResourceVisibilityResponse.Builder,,GetManagedResourceVisibilityResponse> Ec2Response.Builder,SdkBuilder<GetManagedResourceVisibilityResponse.Builder,,GetManagedResourceVisibilityResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetManagedResourceVisibilityResponse
@Mutable
@NotThreadSafe
public static interface GetManagedResourceVisibilityResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetManagedResourceVisibilityResponse.Builder,GetManagedResourceVisibilityResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvisibility(Consumer<ManagedResourceVisibilitySettings.Builder> visibility) The managed resource visibility settings for the account.visibility(ManagedResourceVisibilitySettings visibility) The managed resource visibility settings for the account.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
-
visibility
GetManagedResourceVisibilityResponse.Builder visibility(ManagedResourceVisibilitySettings visibility) The managed resource visibility settings for the account.
- Parameters:
visibility- The managed resource visibility settings for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
visibility
default GetManagedResourceVisibilityResponse.Builder visibility(Consumer<ManagedResourceVisibilitySettings.Builder> visibility) The managed resource visibility settings for the account.
This is a convenience method that creates an instance of theManagedResourceVisibilitySettings.Builderavoiding the need to create one manually viaManagedResourceVisibilitySettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovisibility(ManagedResourceVisibilitySettings).- Parameters:
visibility- a consumer that will call methods onManagedResourceVisibilitySettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-