Interface ListWorkloadSharesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkloadSharesResponse.Builder,ListWorkloadSharesResponse>,SdkBuilder<ListWorkloadSharesResponse.Builder,ListWorkloadSharesResponse>,SdkPojo,SdkResponse.Builder,WellArchitectedResponse.Builder
- Enclosing class:
- ListWorkloadSharesResponse
public static interface ListWorkloadSharesResponse.Builder extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<ListWorkloadSharesResponse.Builder,ListWorkloadSharesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWorkloadSharesResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.ListWorkloadSharesResponse.BuilderworkloadId(String workloadId)Sets the value of the WorkloadId property for this object.ListWorkloadSharesResponse.BuilderworkloadShareSummaries(Collection<WorkloadShareSummary> workloadShareSummaries)Sets the value of the WorkloadShareSummaries property for this object.ListWorkloadSharesResponse.BuilderworkloadShareSummaries(Consumer<WorkloadShareSummary.Builder>... workloadShareSummaries)Sets the value of the WorkloadShareSummaries property for this object.ListWorkloadSharesResponse.BuilderworkloadShareSummaries(WorkloadShareSummary... workloadShareSummaries)Sets the value of the WorkloadShareSummaries property for this object.-
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
workloadId
ListWorkloadSharesResponse.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.
-
workloadShareSummaries
ListWorkloadSharesResponse.Builder workloadShareSummaries(Collection<WorkloadShareSummary> workloadShareSummaries)
Sets the value of the WorkloadShareSummaries property for this object.- Parameters:
workloadShareSummaries- The new value for the WorkloadShareSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadShareSummaries
ListWorkloadSharesResponse.Builder workloadShareSummaries(WorkloadShareSummary... workloadShareSummaries)
Sets the value of the WorkloadShareSummaries property for this object.- Parameters:
workloadShareSummaries- The new value for the WorkloadShareSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadShareSummaries
ListWorkloadSharesResponse.Builder workloadShareSummaries(Consumer<WorkloadShareSummary.Builder>... workloadShareSummaries)
Sets the value of the WorkloadShareSummaries property for this object. This is a convenience method that creates an instance of theWorkloadShareSummary.Builderavoiding the need to create one manually viaWorkloadShareSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#workloadShareSummaries(List.) - Parameters:
workloadShareSummaries- a consumer that will call methods onWorkloadShareSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#workloadShareSummaries(java.util.Collection)
-
nextToken
ListWorkloadSharesResponse.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.
-
-