Interface RedshiftSelfGrantStatusOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftSelfGrantStatusOutput.Builder,
,RedshiftSelfGrantStatusOutput> SdkBuilder<RedshiftSelfGrantStatusOutput.Builder,
,RedshiftSelfGrantStatusOutput> SdkPojo
- Enclosing class:
RedshiftSelfGrantStatusOutput
@Mutable
@NotThreadSafe
public static interface RedshiftSelfGrantStatusOutput.Builder
extends SdkPojo, CopyableBuilder<RedshiftSelfGrantStatusOutput.Builder,RedshiftSelfGrantStatusOutput>
-
Method Summary
Modifier and TypeMethodDescriptionselfGrantStatusDetails
(Collection<SelfGrantStatusDetail> selfGrantStatusDetails) The details for the self granting status for an Amazon Redshift data source.selfGrantStatusDetails
(Consumer<SelfGrantStatusDetail.Builder>... selfGrantStatusDetails) The details for the self granting status for an Amazon Redshift data source.selfGrantStatusDetails
(SelfGrantStatusDetail... selfGrantStatusDetails) The details for the self granting status for an Amazon Redshift data source.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, sdkFieldNameToField, sdkFields
-
Method Details
-
selfGrantStatusDetails
RedshiftSelfGrantStatusOutput.Builder selfGrantStatusDetails(Collection<SelfGrantStatusDetail> selfGrantStatusDetails) The details for the self granting status for an Amazon Redshift data source.
- Parameters:
selfGrantStatusDetails
- The details for the self granting status for an Amazon Redshift data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfGrantStatusDetails
RedshiftSelfGrantStatusOutput.Builder selfGrantStatusDetails(SelfGrantStatusDetail... selfGrantStatusDetails) The details for the self granting status for an Amazon Redshift data source.
- Parameters:
selfGrantStatusDetails
- The details for the self granting status for an Amazon Redshift data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfGrantStatusDetails
RedshiftSelfGrantStatusOutput.Builder selfGrantStatusDetails(Consumer<SelfGrantStatusDetail.Builder>... selfGrantStatusDetails) The details for the self granting status for an Amazon Redshift data source.
This is a convenience method that creates an instance of theSelfGrantStatusDetail.Builder
avoiding the need to create one manually viaSelfGrantStatusDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselfGrantStatusDetails(List<SelfGrantStatusDetail>)
.- Parameters:
selfGrantStatusDetails
- a consumer that will call methods onSelfGrantStatusDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-