@Stability(value=Experimental) public static final class ShareOptions.Builder extends Object implements software.amazon.jsii.Builder<ShareOptions>
ShareOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ShareOptions.Builder |
accounts(List<String> accounts)
Sets the value of
ShareOptions.getAccounts() |
ShareOptions |
build()
Builds the configured instance.
|
ShareOptions.Builder |
organizationArns(List<String> organizationArns)
Sets the value of
ShareOptions.getOrganizationArns() |
ShareOptions.Builder |
roles(List<? extends IRole> roles)
Sets the value of
ShareOptions.getRoles() |
ShareOptions.Builder |
sharePermission(SharePermission sharePermission)
Sets the value of
ShareOptions.getSharePermission() |
ShareOptions.Builder |
sharePermission(String sharePermission)
Sets the value of
ShareOptions.getSharePermission() |
ShareOptions.Builder |
users(List<? extends IUser> users)
Sets the value of
ShareOptions.getUsers() |
@Stability(value=Experimental) public ShareOptions.Builder accounts(List<String> accounts)
ShareOptions.getAccounts()accounts - A list of AWS accounts that the application will be shared with.this@Stability(value=Experimental) public ShareOptions.Builder organizationArns(List<String> organizationArns)
ShareOptions.getOrganizationArns()organizationArns - A list of AWS Organization or Organizational Units (OUs) ARNs that the application will be shared with.this@Stability(value=Experimental) public ShareOptions.Builder roles(List<? extends IRole> roles)
ShareOptions.getRoles()roles - A list of AWS IAM roles that the application will be shared with.this@Stability(value=Experimental) public ShareOptions.Builder sharePermission(String sharePermission)
ShareOptions.getSharePermission()sharePermission - An option to manage access to the application or attribute group.this@Stability(value=Experimental) public ShareOptions.Builder sharePermission(SharePermission sharePermission)
ShareOptions.getSharePermission()sharePermission - An option to manage access to the application or attribute group.this@Stability(value=Experimental) public ShareOptions.Builder users(List<? extends IUser> users)
ShareOptions.getUsers()users - A list of AWS IAM users that the application will be shared with.this@Stability(value=Experimental) public ShareOptions build()
build in interface software.amazon.jsii.Builder<ShareOptions>ShareOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.