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> 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> 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> 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, 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> 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); } }
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, RecursiveStructType> copy(Map<String, RecursiveStructType> recursiveMapTypeParam) { if (recursiveMapTypeParam == null || recursiveMapTypeParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, RecursiveStructType> recursiveMapTypeParamCopy = recursiveMapTypeParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(recursiveMapTypeParamCopy); }
static Map<String, String> copy(Map<String, String> highlightsParam) { if (highlightsParam == null || highlightsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> highlightsParamCopy = highlightsParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(highlightsParamCopy); } }
static Map<String, String> copy(Map<String, String> authParametersTypeParam) { if (authParametersTypeParam == null || authParametersTypeParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, String> authParametersTypeParamCopy = authParametersTypeParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), e.getValue()), HashMap::putAll); return Collections.unmodifiableMap(authParametersTypeParamCopy); } }
static Map<String, List<String>> copy(Map<String, ? extends Collection<String>> targetFiltersParam) { if (targetFiltersParam == null || targetFiltersParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, List<String>> targetFiltersParamCopy = targetFiltersParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), FilterValueListCopier.copy(e.getValue())), HashMap::putAll); return Collections.unmodifiableMap(targetFiltersParamCopy); }
static Map<String, List<String>> copy(Map<String, ? extends Collection<String>> fieldsParam) { if (fieldsParam == null || fieldsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, List<String>> fieldsParamCopy = fieldsParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), FieldValueCopier.copy(e.getValue())), HashMap::putAll); return Collections.unmodifiableMap(fieldsParamCopy); } }
static Map<String, List<String>> copy(Map<String, ? extends Collection<String>> mapOfStringToListOfStringsParam) { if (mapOfStringToListOfStringsParam == null || mapOfStringToListOfStringsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, List<String>> mapOfStringToListOfStringsParamCopy = mapOfStringToListOfStringsParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), ListOfStringsCopier.copy(e.getValue())), HashMap::putAll); return Collections.unmodifiableMap(mapOfStringToListOfStringsParamCopy); } }
static Map<String, List<WriteRequest>> copy(Map<String, ? extends Collection<WriteRequest>> batchWriteItemRequestMapParam) { if (batchWriteItemRequestMapParam == null || batchWriteItemRequestMapParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, List<WriteRequest>> batchWriteItemRequestMapParamCopy = batchWriteItemRequestMapParam.entrySet().stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), WriteRequestsCopier.copy(e.getValue())), HashMap::putAll); return Collections.unmodifiableMap(batchWriteItemRequestMapParamCopy); } }
static Map<String, List<List<String>>> copy( Map<String, ? extends Collection<? extends Collection<String>>> mapOfStringToListOfListOfStringsParam) { if (mapOfStringToListOfListOfStringsParam == null || mapOfStringToListOfListOfStringsParam instanceof SdkAutoConstructMap) { return DefaultSdkAutoConstructMap.getInstance(); } Map<String, List<List<String>>> mapOfStringToListOfListOfStringsParamCopy = mapOfStringToListOfListOfStringsParam .entrySet() .stream() .collect(HashMap::new, (m, e) -> m.put(e.getKey(), ListOfListOfStringsCopier.copy(e.getValue())), HashMap::putAll); return Collections.unmodifiableMap(mapOfStringToListOfListOfStringsParamCopy); } }