static Map<String, SimpleStruct> copy(Map<String, SimpleStruct> mapOfStringToSimpleStructParam) { if (mapOfStringToSimpleStructParam == null || mapOfStringToSimpleStructParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, SimpleStruct> mapOfStringToSimpleStructParamCopy = mapOfStringToSimpleStructParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(mapOfStringToSimpleStructParamCopy); }
static Map<String, String> copy(Map<String, String> clientMetadataTypeParam) { if (clientMetadataTypeParam == null || clientMetadataTypeParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> clientMetadataTypeParamCopy = clientMetadataTypeParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(clientMetadataTypeParamCopy); } }
static Map<String, String> copy(Map<String, String> authenticateCognitoActionAuthenticationRequestExtraParamsParam) { if (authenticateCognitoActionAuthenticationRequestExtraParamsParam == null || authenticateCognitoActionAuthenticationRequestExtraParamsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> authenticateCognitoActionAuthenticationRequestExtraParamsParamCopy = authenticateCognitoActionAuthenticationRequestExtraParamsParam .entrySet().stream().collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(authenticateCognitoActionAuthenticationRequestExtraParamsParamCopy); } }
static Map<String, String> copy(Map<String, String> tagMapParam) { if (tagMapParam == null || tagMapParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> tagMapParamCopy = tagMapParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(tagMapParamCopy); } }
static Map<String, String> copy(Map<String, String> userPoolTagsTypeParam) { if (userPoolTagsTypeParam == null || userPoolTagsTypeParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> userPoolTagsTypeParamCopy = userPoolTagsTypeParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(userPoolTagsTypeParamCopy); } }
static Map<String, String> copy(Map<String, String> __mapOf__stringParam) { if (__mapOf__stringParam == null || __mapOf__stringParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> __mapOf__stringParamCopy = __mapOf__stringParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(__mapOf__stringParamCopy); } }
static Map<String, String> copy(Map<String, String> queryParamMapParam) { if (queryParamMapParam == null || queryParamMapParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> queryParamMapParamCopy = queryParamMapParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(queryParamMapParamCopy); } }
static Map<String, String> copy(Map<String, String> eventsParam) { if (eventsParam == null || eventsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> eventsParamCopy = eventsParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(eventsParamCopy); } }
static Map<String, ArtifactStore> copy(Map<String, ArtifactStore> artifactStoreMapParam) { if (artifactStoreMapParam == null || artifactStoreMapParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, ArtifactStore> artifactStoreMapParamCopy = artifactStoreMapParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(artifactStoreMapParamCopy); }
static Map<String, AttributeValue> copy(Map<String, AttributeValue> expressionAttributeValueMapParam) { if (expressionAttributeValueMapParam == null || expressionAttributeValueMapParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, AttributeValue> expressionAttributeValueMapParamCopy = expressionAttributeValueMapParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(expressionAttributeValueMapParamCopy); }
static Map<String, String> copy(Map<String, String> attributesMapParam) { if (attributesMapParam == null || attributesMapParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> attributesMapParamCopy = attributesMapParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(attributesMapParamCopy); } }
static Map<String, String> copy(Map<String, String> tagSetParam) { if (tagSetParam == null || tagSetParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> tagSetParamCopy = tagSetParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(tagSetParamCopy); } }
static Map<String, FailedItemDetails> copy(Map<String, FailedItemDetails> failedItemsParam) { if (failedItemsParam == null || failedItemsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, FailedItemDetails> failedItemsParamCopy = failedItemsParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(failedItemsParamCopy); }
static Map<String, String> copy(Map<String, String> recordParam) { if (recordParam == null || recordParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> recordParamCopy = recordParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(recordParamCopy); } }
static Map<String, String> copy(Map<String, String> tagsParam) { if (tagsParam == null || tagsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> tagsParamCopy = tagsParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(tagsParamCopy); } }
static Map<String, AuditCheckDetails> copy(Map<String, AuditCheckDetails> auditDetailsParam) { if (auditDetailsParam == null || auditDetailsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, AuditCheckDetails> auditDetailsParamCopy = auditDetailsParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(auditDetailsParamCopy); }
static Map<String, String> copy(Map<String, String> resourceArnsParam) { if (resourceArnsParam == null || resourceArnsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> resourceArnsParamCopy = resourceArnsParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(resourceArnsParamCopy); } }
static Map<String, String> copy(Map<String, String> mapOfEnumToEnumParam) { if (mapOfEnumToEnumParam == null || mapOfEnumToEnumParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> mapOfEnumToEnumParamCopy = mapOfEnumToEnumParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(mapOfEnumToEnumParamCopy); }
static Map<String, String> copy(Map<String, String> defaultPlacementAttributeMapParam) { if (defaultPlacementAttributeMapParam == null || defaultPlacementAttributeMapParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> defaultPlacementAttributeMapParamCopy = defaultPlacementAttributeMapParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(defaultPlacementAttributeMapParamCopy); } }
static Map<String, String> copy(Map<String, String> templateParameterMapParam) { if (templateParameterMapParam == null || templateParameterMapParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> templateParameterMapParamCopy = templateParameterMapParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(templateParameterMapParamCopy); } }