Package com.amazonaws.services.s3.model
Class ExtraMaterialsDescription
java.lang.Object
com.amazonaws.services.s3.model.ExtraMaterialsDescription
- All Implemented Interfaces:
Serializable
Used to provide additional/supplemental material description (typically on a
per-request basis and for more advanced use-case) to supplement the one
stored in S3 for crypto material retrieval.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Used to resolve conflicts when merging the additional material description to the core material description. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExtraMaterialsDescription
(Map<String, String> matdesc) ExtraMaterialsDescription
(Map<String, String> matdesc, ExtraMaterialsDescription.ConflictResolution resolve) -
Method Summary
Modifier and TypeMethodDescriptionReturns the conflict resolution strategy; neve null.Returns the extra material description; never null.Combine this supplemental material descriptions with those specified in the "core" parameter.
-
Field Details
-
NONE
-
-
Constructor Details
-
ExtraMaterialsDescription
-
ExtraMaterialsDescription
public ExtraMaterialsDescription(Map<String, String> matdesc, ExtraMaterialsDescription.ConflictResolution resolve)
-
-
Method Details
-
getMaterialDescription
Returns the extra material description; never null. -
getConflictResolution
Returns the conflict resolution strategy; neve null. -
mergeInto
Combine this supplemental material descriptions with those specified in the "core" parameter. This method has no side effect.- Parameters:
core
- the core material descriptions to be supplemented; assumed to be unmodifiable.- Returns:
- the merged material descriptions; never null. The returned map is always unmodifiable, assuming the passed in core material descriptions are unmodifiable.
- Throws:
IllegalArgumentException
- if this supplemental material descriptions contains conflicting entriesUnsupportedOperationException
- if the conflict resolution strategy is not supported
-