Interface BatchGetWorkspaceEnforcedPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetWorkspaceEnforcedPolicyResponse.Builder,,BatchGetWorkspaceEnforcedPolicyResponse> SdkBuilder<BatchGetWorkspaceEnforcedPolicyResponse.Builder,,BatchGetWorkspaceEnforcedPolicyResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
BatchGetWorkspaceEnforcedPolicyResponse
@Mutable
@NotThreadSafe
public static interface BatchGetWorkspaceEnforcedPolicyResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<BatchGetWorkspaceEnforcedPolicyResponse.Builder,BatchGetWorkspaceEnforcedPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<WorkspaceEnforcedPolicyError> errors) The identifiers that the service couldn't return, with the reason for each.errors(Consumer<WorkspaceEnforcedPolicyError.Builder>... errors) The identifiers that the service couldn't return, with the reason for each.errors(WorkspaceEnforcedPolicyError... errors) The identifiers that the service couldn't return, with the reason for each.policies(Collection<WorkspaceEnforcedPolicy> policies) The policies.policies(Consumer<WorkspaceEnforcedPolicy.Builder>... policies) The policies.policies(WorkspaceEnforcedPolicy... policies) The policies.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
policies
BatchGetWorkspaceEnforcedPolicyResponse.Builder policies(Collection<WorkspaceEnforcedPolicy> policies) The policies.
- Parameters:
policies- The policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The policies.
- Parameters:
policies- The policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
BatchGetWorkspaceEnforcedPolicyResponse.Builder policies(Consumer<WorkspaceEnforcedPolicy.Builder>... policies) The policies.
This is a convenience method that creates an instance of theWorkspaceEnforcedPolicy.Builderavoiding the need to create one manually viaWorkspaceEnforcedPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicies(List<WorkspaceEnforcedPolicy>).- Parameters:
policies- a consumer that will call methods onWorkspaceEnforcedPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchGetWorkspaceEnforcedPolicyResponse.Builder errors(Collection<WorkspaceEnforcedPolicyError> errors) The identifiers that the service couldn't return, with the reason for each.
- Parameters:
errors- The identifiers that the service couldn't return, with the reason for each.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The identifiers that the service couldn't return, with the reason for each.
- Parameters:
errors- The identifiers that the service couldn't return, with the reason for each.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetWorkspaceEnforcedPolicyResponse.Builder errors(Consumer<WorkspaceEnforcedPolicyError.Builder>... errors) The identifiers that the service couldn't return, with the reason for each.
This is a convenience method that creates an instance of theWorkspaceEnforcedPolicyError.Builderavoiding the need to create one manually viaWorkspaceEnforcedPolicyError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<WorkspaceEnforcedPolicyError>).- Parameters:
errors- a consumer that will call methods onWorkspaceEnforcedPolicyError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-