Interface DeleteRoleAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteRoleAssociationResponse.Builder,,DeleteRoleAssociationResponse> RedshiftServerlessResponse.Builder,SdkBuilder<DeleteRoleAssociationResponse.Builder,,DeleteRoleAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteRoleAssociationResponse
@Mutable
@NotThreadSafe
public static interface DeleteRoleAssociationResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<DeleteRoleAssociationResponse.Builder,DeleteRoleAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprincipal(Consumer<PrincipalOutput.Builder> principal) The principal from the request.principal(PrincipalOutput principal) The principal from the request.The system-defined role specified in the request.The Amazon Resource Name (ARN) of the default endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.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
-
targetArn
The Amazon Resource Name (ARN) of the default endpoint.
- Parameters:
targetArn- The Amazon Resource Name (ARN) of the default endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleType
The system-defined role specified in the request.
- Parameters:
roleType- The system-defined role specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal from the request. If the request removed an existing association, the response includes its resolved unique ID. If no association existed, the response omits the resolved unique ID.
- Parameters:
principal- The principal from the request. If the request removed an existing association, the response includes its resolved unique ID. If no association existed, the response omits the resolved unique ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
default DeleteRoleAssociationResponse.Builder principal(Consumer<PrincipalOutput.Builder> principal) The principal from the request. If the request removed an existing association, the response includes its resolved unique ID. If no association existed, the response omits the resolved unique ID.
This is a convenience method that creates an instance of thePrincipalOutput.Builderavoiding the need to create one manually viaPrincipalOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(PrincipalOutput).- Parameters:
principal- a consumer that will call methods onPrincipalOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-