Interface Scope.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Scope.Builder,Scope>,SdkBuilder<Scope.Builder,Scope>,SdkPojo
- Enclosing class:
- Scope
public static interface Scope.Builder extends SdkPojo, CopyableBuilder<Scope.Builder,Scope>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Scope.Buildername(String name)The name of the scope.Scope.Buildername(ScopeName name)The name of the scope.Scope.Buildervalue(String value)The value of the scope.-
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, sdkFields
-
-
-
-
Method Detail
-
name
Scope.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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ScopeName,ScopeName
-
-
name
Scope.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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ScopeName,ScopeName
-
-
value
Scope.Builder value(String value)
The value of the scope.
If you specified the
nameof the scope as:-
Organization- Thevaluemust beALL_ACCOUNTS. -
AccountId- Thevaluemust be a 12-digit Amazon Web Services account ID. -
ResourceArn- Thevaluemust 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.
- Parameters:
value- The value of the scope.If you specified the
nameof the scope as:-
Organization- Thevaluemust beALL_ACCOUNTS. -
AccountId- Thevaluemust be a 12-digit Amazon Web Services account ID. -
ResourceArn- Thevaluemust 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-