Interface ListWorkloadSharesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListWorkloadSharesRequest.Builder,,ListWorkloadSharesRequest> SdkBuilder<ListWorkloadSharesRequest.Builder,,ListWorkloadSharesRequest> SdkPojo,SdkRequest.Builder,WellArchitectedRequest.Builder
- Enclosing class:
ListWorkloadSharesRequest
public static interface ListWorkloadSharesRequest.Builder
extends WellArchitectedRequest.Builder, SdkPojo, CopyableBuilder<ListWorkloadSharesRequest.Builder,ListWorkloadSharesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to return for this request.Sets the value of the NextToken property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sharedWithPrefix(String sharedWithPrefix) The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.Sets the value of the Status property for this object.status(ShareStatus status) Sets the value of the Status property for this object.workloadId(String workloadId) Sets the value of the WorkloadId property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedRequest.Builder
build
-
Method Details
-
workloadId
Sets the value of the WorkloadId property for this object.- Parameters:
workloadId- The new value for the WorkloadId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return for this request.
- Parameters:
maxResults- The maximum number of results to return for this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListWorkloadSharesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListWorkloadSharesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-