Interface DescribeDocumentPermissionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDocumentPermissionResponse.Builder,DescribeDocumentPermissionResponse>,SdkBuilder<DescribeDocumentPermissionResponse.Builder,DescribeDocumentPermissionResponse>,SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
- DescribeDocumentPermissionResponse
@Mutable @NotThreadSafe public static interface DescribeDocumentPermissionResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeDocumentPermissionResponse.Builder,DescribeDocumentPermissionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeDocumentPermissionResponse.BuilderaccountIds(String... accountIds)The account IDs that have permission to use this document.DescribeDocumentPermissionResponse.BuilderaccountIds(Collection<String> accountIds)The account IDs that have permission to use this document.DescribeDocumentPermissionResponse.BuilderaccountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.DescribeDocumentPermissionResponse.BuilderaccountSharingInfoList(Consumer<AccountSharingInfo.Builder>... accountSharingInfoList)A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.DescribeDocumentPermissionResponse.BuilderaccountSharingInfoList(AccountSharingInfo... accountSharingInfoList)A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.DescribeDocumentPermissionResponse.BuildernextToken(String nextToken)The token for the next set of items to return.-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
accountIds
DescribeDocumentPermissionResponse.Builder accountIds(Collection<String> accountIds)
The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account number or
all.- Parameters:
accountIds- The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account number orall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
DescribeDocumentPermissionResponse.Builder accountIds(String... accountIds)
The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account number or
all.- Parameters:
accountIds- The account IDs that have permission to use this document. The ID can be either an Amazon Web Services account number orall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountSharingInfoList
DescribeDocumentPermissionResponse.Builder accountSharingInfoList(Collection<AccountSharingInfo> accountSharingInfoList)
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
- Parameters:
accountSharingInfoList- A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountSharingInfoList
DescribeDocumentPermissionResponse.Builder accountSharingInfoList(AccountSharingInfo... accountSharingInfoList)
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
- Parameters:
accountSharingInfoList- A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountSharingInfoList
DescribeDocumentPermissionResponse.Builder accountSharingInfoList(Consumer<AccountSharingInfo.Builder>... accountSharingInfoList)
A list of Amazon Web Services accounts where the current document is shared and the version shared with each account.
This is a convenience method that creates an instance of theAccountSharingInfo.Builderavoiding the need to create one manually viaAccountSharingInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accountSharingInfoList(List.) - Parameters:
accountSharingInfoList- a consumer that will call methods onAccountSharingInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accountSharingInfoList(java.util.Collection)
-
nextToken
DescribeDocumentPermissionResponse.Builder nextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
- Parameters:
nextToken- The token for the next set of items to return. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-