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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWorkloadSharesRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return for this request.ListWorkloadSharesRequest.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.ListWorkloadSharesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListWorkloadSharesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListWorkloadSharesRequest.BuildersharedWithPrefix(String sharedWithPrefix)The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.ListWorkloadSharesRequest.Builderstatus(String status)Sets the value of the Status property for this object.ListWorkloadSharesRequest.Builderstatus(ShareStatus status)Sets the value of the Status property for this object.ListWorkloadSharesRequest.BuilderworkloadId(String workloadId)Sets the value of the WorkloadId property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedRequest.Builder
build
-
-
-
-
Method Detail
-
workloadId
ListWorkloadSharesRequest.Builder workloadId(String 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.
-
sharedWithPrefix
ListWorkloadSharesRequest.Builder sharedWithPrefix(String sharedWithPrefix)
The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.
- Parameters:
sharedWithPrefix- The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload is shared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListWorkloadSharesRequest.Builder nextToken(String 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
ListWorkloadSharesRequest.Builder maxResults(Integer 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
ListWorkloadSharesRequest.Builder status(String 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:
ShareStatus,ShareStatus
-
status
ListWorkloadSharesRequest.Builder status(ShareStatus 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:
ShareStatus,ShareStatus
-
overrideConfiguration
ListWorkloadSharesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListWorkloadSharesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-