public static interface UpdateRuleResponse.Builder extends RbinResponse.Builder, SdkPojo, CopyableBuilder<UpdateRuleResponse.Builder,UpdateRuleResponse>
| Modifier and Type | Method and Description |
|---|---|
UpdateRuleResponse.Builder |
description(String description)
The retention rule description.
|
UpdateRuleResponse.Builder |
identifier(String identifier)
The unique ID of the retention rule.
|
UpdateRuleResponse.Builder |
resourceTags(Collection<ResourceTag> resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
|
UpdateRuleResponse.Builder |
resourceTags(Consumer<ResourceTag.Builder>... resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
|
UpdateRuleResponse.Builder |
resourceTags(ResourceTag... resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
|
UpdateRuleResponse.Builder |
resourceType(ResourceType resourceType)
The resource type retained by the retention rule.
|
UpdateRuleResponse.Builder |
resourceType(String resourceType)
The resource type retained by the retention rule.
|
default UpdateRuleResponse.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Sets the value of the RetentionPeriod property for this object.
|
UpdateRuleResponse.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
Sets the value of the RetentionPeriod property for this object.
|
UpdateRuleResponse.Builder |
status(RuleStatus status)
The state of the retention rule.
|
UpdateRuleResponse.Builder |
status(String status)
The state of the retention rule.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateRuleResponse.Builder identifier(String identifier)
The unique ID of the retention rule.
identifier - The unique ID of the retention rule.UpdateRuleResponse.Builder retentionPeriod(RetentionPeriod retentionPeriod)
retentionPeriod - The new value for the RetentionPeriod property for this object.default UpdateRuleResponse.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
RetentionPeriod.Builder avoiding the
need to create one manually via RetentionPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retentionPeriod(RetentionPeriod).retentionPeriod - a consumer that will call methods on RetentionPeriod.BuilderretentionPeriod(RetentionPeriod)UpdateRuleResponse.Builder description(String description)
The retention rule description.
description - The retention rule description.UpdateRuleResponse.Builder resourceType(String resourceType)
The resource type retained by the retention rule.
resourceType - The resource type retained by the retention rule.ResourceType,
ResourceTypeUpdateRuleResponse.Builder resourceType(ResourceType resourceType)
The resource type retained by the retention rule.
resourceType - The resource type retained by the retention rule.ResourceType,
ResourceTypeUpdateRuleResponse.Builder resourceTags(Collection<ResourceTag> resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
resourceTags - Information about the resource tags used to identify resources that are retained by the retention
rule.UpdateRuleResponse.Builder resourceTags(ResourceTag... resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
resourceTags - Information about the resource tags used to identify resources that are retained by the retention
rule.UpdateRuleResponse.Builder resourceTags(Consumer<ResourceTag.Builder>... resourceTags)
Information about the resource tags used to identify resources that are retained by the retention rule.
This is a convenience method that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #resourceTags(List) .resourceTags - a consumer that will call methods on List.Builder #resourceTags(List) UpdateRuleResponse.Builder status(String status)
The state of the retention rule. Only retention rules that are in the available state retain
resources.
status - The state of the retention rule. Only retention rules that are in the available state
retain resources.RuleStatus,
RuleStatusUpdateRuleResponse.Builder status(RuleStatus status)
The state of the retention rule. Only retention rules that are in the available state retain
resources.
status - The state of the retention rule. Only retention rules that are in the available state
retain resources.RuleStatus,
RuleStatusCopyright © 2022. All rights reserved.