Interface StandardsSubscription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StandardsSubscription.Builder,StandardsSubscription>,SdkBuilder<StandardsSubscription.Builder,StandardsSubscription>,SdkPojo
- Enclosing class:
- StandardsSubscription
public static interface StandardsSubscription.Builder extends SdkPojo, CopyableBuilder<StandardsSubscription.Builder,StandardsSubscription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StandardsSubscription.BuilderstandardsArn(String standardsArn)The ARN of a standard.StandardsSubscription.BuilderstandardsInput(Map<String,String> standardsInput)A key-value pair of input for the standard.StandardsSubscription.BuilderstandardsStatus(String standardsStatus)The status of the standard subscription.StandardsSubscription.BuilderstandardsStatus(StandardsStatus standardsStatus)The status of the standard subscription.default StandardsSubscription.BuilderstandardsStatusReason(Consumer<StandardsStatusReason.Builder> standardsStatusReason)The reason for the current status.StandardsSubscription.BuilderstandardsStatusReason(StandardsStatusReason standardsStatusReason)The reason for the current status.StandardsSubscription.BuilderstandardsSubscriptionArn(String standardsSubscriptionArn)The ARN of a resource that represents your subscription to a supported standard.-
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
-
standardsSubscriptionArn
StandardsSubscription.Builder standardsSubscriptionArn(String standardsSubscriptionArn)
The ARN of a resource that represents your subscription to a supported standard.
- Parameters:
standardsSubscriptionArn- The ARN of a resource that represents your subscription to a supported standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsArn
StandardsSubscription.Builder standardsArn(String standardsArn)
The ARN of a standard.
- Parameters:
standardsArn- The ARN of a standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsInput
StandardsSubscription.Builder standardsInput(Map<String,String> standardsInput)
A key-value pair of input for the standard.
- Parameters:
standardsInput- A key-value pair of input for the standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsStatus
StandardsSubscription.Builder standardsStatus(String standardsStatus)
The status of the standard subscription.
The status values are as follows:
-
PENDING- Standard is in the process of being enabled. -
READY- Standard is enabled. -
INCOMPLETE- Standard could not be enabled completely. Some controls may not be available. -
DELETING- Standard is in the process of being disabled. -
FAILED- Standard could not be disabled.
- Parameters:
standardsStatus- The status of the standard subscription.The status values are as follows:
-
PENDING- Standard is in the process of being enabled. -
READY- Standard is enabled. -
INCOMPLETE- Standard could not be enabled completely. Some controls may not be available. -
DELETING- Standard is in the process of being disabled. -
FAILED- Standard could not be disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StandardsStatus,StandardsStatus
-
-
standardsStatus
StandardsSubscription.Builder standardsStatus(StandardsStatus standardsStatus)
The status of the standard subscription.
The status values are as follows:
-
PENDING- Standard is in the process of being enabled. -
READY- Standard is enabled. -
INCOMPLETE- Standard could not be enabled completely. Some controls may not be available. -
DELETING- Standard is in the process of being disabled. -
FAILED- Standard could not be disabled.
- Parameters:
standardsStatus- The status of the standard subscription.The status values are as follows:
-
PENDING- Standard is in the process of being enabled. -
READY- Standard is enabled. -
INCOMPLETE- Standard could not be enabled completely. Some controls may not be available. -
DELETING- Standard is in the process of being disabled. -
FAILED- Standard could not be disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StandardsStatus,StandardsStatus
-
-
standardsStatusReason
StandardsSubscription.Builder standardsStatusReason(StandardsStatusReason standardsStatusReason)
The reason for the current status.
- Parameters:
standardsStatusReason- The reason for the current status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standardsStatusReason
default StandardsSubscription.Builder standardsStatusReason(Consumer<StandardsStatusReason.Builder> standardsStatusReason)
The reason for the current status.
This is a convenience method that creates an instance of theStandardsStatusReason.Builderavoiding the need to create one manually viaStandardsStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostandardsStatusReason(StandardsStatusReason).- Parameters:
standardsStatusReason- a consumer that will call methods onStandardsStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
standardsStatusReason(StandardsStatusReason)
-
-