public static interface GetResourceShareAssociationsRequest.Builder extends RamRequest.Builder, SdkPojo, CopyableBuilder<GetResourceShareAssociationsRequest.Builder,GetResourceShareAssociationsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetResourceShareAssociationsRequest.Builder |
associationStatus(ResourceShareAssociationStatus associationStatus)
Specifies that you want to retrieve only associations with this status.
|
GetResourceShareAssociationsRequest.Builder |
associationStatus(String associationStatus)
Specifies that you want to retrieve only associations with this status.
|
GetResourceShareAssociationsRequest.Builder |
associationType(ResourceShareAssociationType associationType)
Specifies whether you want to retrieve the associations that involve a specified resource or principal.
|
GetResourceShareAssociationsRequest.Builder |
associationType(String associationType)
Specifies whether you want to retrieve the associations that involve a specified resource or principal.
|
GetResourceShareAssociationsRequest.Builder |
maxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
GetResourceShareAssociationsRequest.Builder |
nextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
GetResourceShareAssociationsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetResourceShareAssociationsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetResourceShareAssociationsRequest.Builder |
principal(String principal)
Specifies the ID of the principal whose resource shares you want to retrieve.
|
GetResourceShareAssociationsRequest.Builder |
resourceArn(String resourceArn)
Specifies the Amazon
Resoure Name (ARN) of the resource whose resource shares you want to retrieve.
|
GetResourceShareAssociationsRequest.Builder |
resourceShareArns(Collection<String> resourceShareArns)
Specifies a list of Amazon Resource Names
(ARNs) of the resource share whose associations you want to retrieve.
|
GetResourceShareAssociationsRequest.Builder |
resourceShareArns(String... resourceShareArns)
Specifies a list of Amazon Resource Names
(ARNs) of the resource share whose associations you want to retrieve.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetResourceShareAssociationsRequest.Builder associationType(String associationType)
Specifies whether you want to retrieve the associations that involve a specified resource or principal.
PRINCIPAL – list the principals that are associated with the specified resource share.
RESOURCE – list the resources that are associated with the specified resource share.
associationType - Specifies whether you want to retrieve the associations that involve a specified resource or
principal.
PRINCIPAL – list the principals that are associated with the specified resource share.
RESOURCE – list the resources that are associated with the specified resource share.
ResourceShareAssociationType,
ResourceShareAssociationTypeGetResourceShareAssociationsRequest.Builder associationType(ResourceShareAssociationType associationType)
Specifies whether you want to retrieve the associations that involve a specified resource or principal.
PRINCIPAL – list the principals that are associated with the specified resource share.
RESOURCE – list the resources that are associated with the specified resource share.
associationType - Specifies whether you want to retrieve the associations that involve a specified resource or
principal.
PRINCIPAL – list the principals that are associated with the specified resource share.
RESOURCE – list the resources that are associated with the specified resource share.
ResourceShareAssociationType,
ResourceShareAssociationTypeGetResourceShareAssociationsRequest.Builder resourceShareArns(Collection<String> resourceShareArns)
Specifies a list of Amazon Resource Names (ARNs) of the resource share whose associations you want to retrieve.
resourceShareArns - Specifies a list of Amazon Resource
Names (ARNs) of the resource share whose associations you want to retrieve.GetResourceShareAssociationsRequest.Builder resourceShareArns(String... resourceShareArns)
Specifies a list of Amazon Resource Names (ARNs) of the resource share whose associations you want to retrieve.
resourceShareArns - Specifies a list of Amazon Resource
Names (ARNs) of the resource share whose associations you want to retrieve.GetResourceShareAssociationsRequest.Builder resourceArn(String resourceArn)
Specifies the Amazon Resoure Name (ARN) of the resource whose resource shares you want to retrieve.
You cannot specify this parameter if the association type is PRINCIPAL.
resourceArn - Specifies the Amazon Resoure Name
(ARN) of the resource whose resource shares you want to retrieve.
You cannot specify this parameter if the association type is PRINCIPAL.
GetResourceShareAssociationsRequest.Builder principal(String principal)
Specifies the ID of the principal whose resource shares you want to retrieve. This can be an Amazon Web Services account ID, an organization ID, an organizational unit ID, or the Amazon Resoure Name (ARN) of an individual IAM user or role.
You cannot specify this parameter if the association type is RESOURCE.
principal - Specifies the ID of the principal whose resource shares you want to retrieve. This can be an Amazon
Web Services account ID, an organization ID, an organizational unit ID, or the Amazon Resoure Name
(ARN) of an individual IAM user or role.
You cannot specify this parameter if the association type is RESOURCE.
GetResourceShareAssociationsRequest.Builder associationStatus(String associationStatus)
Specifies that you want to retrieve only associations with this status.
associationStatus - Specifies that you want to retrieve only associations with this status.ResourceShareAssociationStatus,
ResourceShareAssociationStatusGetResourceShareAssociationsRequest.Builder associationStatus(ResourceShareAssociationStatus associationStatus)
Specifies that you want to retrieve only associations with this status.
associationStatus - Specifies that you want to retrieve only associations with this status.ResourceShareAssociationStatus,
ResourceShareAssociationStatusGetResourceShareAssociationsRequest.Builder nextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a
NextToken response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken response to
request the next page of results.
nextToken - Specifies that you want to receive the next page of results. Valid only if you received a
NextToken response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.GetResourceShareAssociationsRequest.Builder maxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response. If you do not
include this parameter, it defaults to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken response element is returned with a value (not
null). Include the specified value as the NextToken request parameter in the next call to the
operation to get the next part of the results. Note that the service might return fewer results than the
maximum even when there are more results available. You should check NextToken after every
operation to ensure that you receive all of the results.
maxResults - Specifies the total number of results that you want included on each page of the response. If you do
not include this parameter, it defaults to a value that is specific to the operation. If additional
items exist beyond the number you specify, the NextToken response element is returned
with a value (not null). Include the specified value as the NextToken request parameter
in the next call to the operation to get the next part of the results. Note that the service might
return fewer results than the maximum even when there are more results available. You should check
NextToken after every operation to ensure that you receive all of the results.GetResourceShareAssociationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetResourceShareAssociationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.