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.
9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 |
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 9001 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.
9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 |
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 9001 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
9001 9002 9003 |
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 9001 def unknown @unknown end |