Class: Aws::OpenSearchService::Types::RetentionOptions
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpenSearchService::Types::RetentionOptions
- Defined in:
- gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb
Overview
RetentionOptions is a union - when making an API calls you must set exactly one of the members.
RetentionOptions is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RetentionOptions corresponding to the set member.
Controls how long the cluster that you cut over from is kept after
cutover completes. Specify exactly one of RetentionInHours or
RetentionAction.
Defined Under Namespace
Classes: RetentionAction, RetentionInHours, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#retention_action ⇒ String
Ends the retention period now.
-
#retention_in_hours ⇒ Integer
The number of hours to keep the cluster that you cut over from.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#retention_action ⇒ String
Ends the retention period now. Valid only after cutover completes.
8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 |
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 8917 class RetentionOptions < Struct.new( :retention_in_hours, :retention_action, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class RetentionInHours < RetentionOptions; end class RetentionAction < RetentionOptions; end class Unknown < RetentionOptions; end end |
#retention_in_hours ⇒ Integer
The number of hours to keep the cluster that you cut over from. The
retention period starts when cutover completes. The minimum is 1
hour. In an UpdateClone response after cutover completes, this
value is the number of hours remaining in the retention period,
rounded up.
8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 |
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 8917 class RetentionOptions < Struct.new( :retention_in_hours, :retention_action, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class RetentionInHours < RetentionOptions; end class RetentionAction < RetentionOptions; end class Unknown < RetentionOptions; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
8917 8918 8919 |
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 8917 def unknown @unknown end |