Interface ResourceOwner.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceOwner.Builder,,ResourceOwner> SdkBuilder<ResourceOwner.Builder,,ResourceOwner> SdkPojo
- Enclosing class:
ResourceOwner
@Mutable
@NotThreadSafe
public static interface ResourceOwner.Builder
extends SdkPojo, CopyableBuilder<ResourceOwner.Builder,ResourceOwner>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceOwner.Builderaccount(Consumer<ResourceOwnerAccount.Builder> account) Information about the account that owns the resource, for example, an Azure Subscription or Amazon Web Services Account.account(ResourceOwnerAccount account) Information about the account that owns the resource, for example, an Azure Subscription or Amazon Web Services Account.default ResourceOwner.BuilderInformation about the organization that owns the resource, for example, an Azure Tenant.org(ResourceOwnerOrg org) Information about the organization that owns the resource, for example, an Azure Tenant.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
account
Information about the account that owns the resource, for example, an Azure Subscription or Amazon Web Services Account.
- Parameters:
account- Information about the account that owns the resource, for example, an Azure Subscription or Amazon Web Services Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
Information about the account that owns the resource, for example, an Azure Subscription or Amazon Web Services Account.
This is a convenience method that creates an instance of theResourceOwnerAccount.Builderavoiding the need to create one manually viaResourceOwnerAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccount(ResourceOwnerAccount).- Parameters:
account- a consumer that will call methods onResourceOwnerAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
org
Information about the organization that owns the resource, for example, an Azure Tenant.
- Parameters:
org- Information about the organization that owns the resource, for example, an Azure Tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
org
Information about the organization that owns the resource, for example, an Azure Tenant.
This is a convenience method that creates an instance of theResourceOwnerOrg.Builderavoiding the need to create one manually viaResourceOwnerOrg.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorg(ResourceOwnerOrg).- Parameters:
org- a consumer that will call methods onResourceOwnerOrg.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-