public static interface Scope.Builder extends SdkPojo, CopyableBuilder<Scope.Builder,Scope>
| Modifier and Type | Method and Description |
|---|---|
Scope.Builder |
name(ScopeName name)
The name of the scope.
|
Scope.Builder |
name(String name)
The name of the scope.
|
Scope.Builder |
value(String value)
The value of the scope.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildScope.Builder name(String name)
The name of the scope.
The following scopes are possible:
Organization - Specifies that the recommendation preference applies at the organization level,
for all member accounts of an organization.
AccountId - Specifies that the recommendation preference applies at the account level, for all
resources of a given resource type in an account.
ResourceArn - Specifies that the recommendation preference applies at the individual resource
level.
name - The name of the scope.
The following scopes are possible:
Organization - Specifies that the recommendation preference applies at the organization
level, for all member accounts of an organization.
AccountId - Specifies that the recommendation preference applies at the account level,
for all resources of a given resource type in an account.
ResourceArn - Specifies that the recommendation preference applies at the individual
resource level.
ScopeName,
ScopeNameScope.Builder name(ScopeName name)
The name of the scope.
The following scopes are possible:
Organization - Specifies that the recommendation preference applies at the organization level,
for all member accounts of an organization.
AccountId - Specifies that the recommendation preference applies at the account level, for all
resources of a given resource type in an account.
ResourceArn - Specifies that the recommendation preference applies at the individual resource
level.
name - The name of the scope.
The following scopes are possible:
Organization - Specifies that the recommendation preference applies at the organization
level, for all member accounts of an organization.
AccountId - Specifies that the recommendation preference applies at the account level,
for all resources of a given resource type in an account.
ResourceArn - Specifies that the recommendation preference applies at the individual
resource level.
ScopeName,
ScopeNameScope.Builder value(String value)
The value of the scope.
If you specified the name of the scope as:
Organization - The value must be ALL_ACCOUNTS.
AccountId - The value must be a 12-digit Amazon Web Services account ID.
ResourceArn - The value must be the Amazon Resource Name (ARN) of an EC2 instance
or an Auto Scaling group.
Only EC2 instance and Auto Scaling group ARNs are currently supported.
value - The value of the scope.
If you specified the name of the scope as:
Organization - The value must be ALL_ACCOUNTS.
AccountId - The value must be a 12-digit Amazon Web Services account ID.
ResourceArn - The value must be the Amazon Resource Name (ARN) of an EC2
instance or an Auto Scaling group.
Only EC2 instance and Auto Scaling group ARNs are currently supported.
Copyright © 2023. All rights reserved.