Interface CreateRuleGroupsNamespaceResponse.Builder
-
- All Superinterfaces:
AmpResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateRuleGroupsNamespaceResponse.Builder,CreateRuleGroupsNamespaceResponse>,SdkBuilder<CreateRuleGroupsNamespaceResponse.Builder,CreateRuleGroupsNamespaceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateRuleGroupsNamespaceResponse
public static interface CreateRuleGroupsNamespaceResponse.Builder extends AmpResponse.Builder, SdkPojo, CopyableBuilder<CreateRuleGroupsNamespaceResponse.Builder,CreateRuleGroupsNamespaceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRuleGroupsNamespaceResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the new rule groups namespace.CreateRuleGroupsNamespaceResponse.Buildername(String name)The name of the new rule groups namespace.default CreateRuleGroupsNamespaceResponse.Builderstatus(Consumer<RuleGroupsNamespaceStatus.Builder> status)A structure that returns the current status of the rule groups namespace.CreateRuleGroupsNamespaceResponse.Builderstatus(RuleGroupsNamespaceStatus status)A structure that returns the current status of the rule groups namespace.CreateRuleGroupsNamespaceResponse.Buildertags(Map<String,String> tags)The list of tag keys and values that are associated with the namespace.-
Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
CreateRuleGroupsNamespaceResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the new rule groups namespace.
- Parameters:
arn- The Amazon Resource Name (ARN) of the new rule groups namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateRuleGroupsNamespaceResponse.Builder name(String name)
The name of the new rule groups namespace.
- Parameters:
name- The name of the new rule groups namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreateRuleGroupsNamespaceResponse.Builder status(RuleGroupsNamespaceStatus status)
A structure that returns the current status of the rule groups namespace.
- Parameters:
status- A structure that returns the current status of the rule groups namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default CreateRuleGroupsNamespaceResponse.Builder status(Consumer<RuleGroupsNamespaceStatus.Builder> status)
A structure that returns the current status of the rule groups namespace.
This is a convenience method that creates an instance of theRuleGroupsNamespaceStatus.Builderavoiding the need to create one manually viaRuleGroupsNamespaceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(RuleGroupsNamespaceStatus).- Parameters:
status- a consumer that will call methods onRuleGroupsNamespaceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(RuleGroupsNamespaceStatus)
-
tags
CreateRuleGroupsNamespaceResponse.Builder tags(Map<String,String> tags)
The list of tag keys and values that are associated with the namespace.
- Parameters:
tags- The list of tag keys and values that are associated with the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-