Class: Aws::Mgn::Types::OperationUnion

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb

Overview

Note:

OperationUnion is a union - when making an API calls you must set exactly one of the members.

A union type representing the operation to perform on a construct during a mapping update.

Defined Under Namespace

Classes: Delete, Merge, Split, Unknown, Update

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deleteTypes::DeleteOperation

A delete operation to remove a construct from the mapping.

Returns:

  • (Types::DeleteOperation)


4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 4998

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class Unknown < OperationUnion; end
end

#mergeTypes::MergeOperation

A merge operation to combine constructs from different segments.



4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 4998

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class Unknown < OperationUnion; end
end

#splitTypes::SplitOperation

A split operation to divide a construct into multiple constructs with specified CIDR blocks.



4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 4998

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class Unknown < OperationUnion; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4998
4999
5000
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 4998

def unknown
  @unknown
end

#updateTypes::UpdateOperation

An update operation to modify construct properties.



4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/types.rb', line 4998

class OperationUnion < Struct.new(
  :merge,
  :split,
  :delete,
  :update,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Merge < OperationUnion; end
  class Split < OperationUnion; end
  class Delete < OperationUnion; end
  class Update < OperationUnion; end
  class Unknown < OperationUnion; end
end