@Test public void test_translateFromSdkTags_IfIsNull() { assertThat(translateFromSdkTags(null)).isNull(); }
public static Set<software.amazon.cloudformation.stackset.Tag> translateFromSdkTags(final Collection<Tag> tags) { if (CollectionUtils.isNullOrEmpty(tags)) return null; return tags.stream().map(tag -> software.amazon.cloudformation.stackset.Tag.builder() .key(tag.key()) .value(tag.value()) .build()) .collect(Collectors.toSet()); }
PropertyTranslator { public static Set<software.amazon.cloudformation.stackset.Tag> translateFromSdkTags(final Collection<Tag> tags) { if (CollectionUtils.isNullOrEmpty(tags)) return null; return tags.stream().map(tag -> software.amazon.cloudformation.stackset.Tag.builder() .key(tag.key()) .value(tag.value()) .build()) .collect(Collectors.toSet()); } }
PropertyTranslator { public static Set<software.amazon.cloudformation.stackset.Tag> translateFromSdkTags(final Collection<Tag> tags) { if (CollectionUtils.isNullOrEmpty(tags)) return null; return tags.stream().map(tag -> software.amazon.cloudformation.stackset.Tag.builder() .key(tag.key()) .value(tag.value()) .build()) .collect(Collectors.toSet()); }  }
PropertyTranslator { public static Set<software.amazon.cloudformation.stackset.Tag> translateFromSdkTags(final Collection<Tag> tags) { if (CollectionUtils.isNullOrEmpty(tags)) return null; return tags.stream().map(tag -> software.amazon.cloudformation.stackset.Tag.builder() .key(tag.key()) .value(tag.value()) .build()) .collect(Collectors.toSet()); }  static software.amazon.cloudformation.stackset.AutoDeployment translateFromSdkAutoDeployment(
            final AutoDeployment autoDeployment); static AutoDeployment translateToSdkAutoDeployment(
            final software.amazon.cloudformation.stackset.AutoDeployment autoDeployment); static Set<software.amazon.cloudformation.stackset.Parameter> translateFromSdkParameters(
            final Collection<Parameter> parameters); static Set<software.amazon.cloudformation.stackset.Tag> translateFromSdkTags(final Collection<Tag> tags); static StackInstance translateToStackInstance(
            final boolean isSelfManaged,
            final StackInstanceSummary summary,
            final Collection<Parameter> parameters); }
PropertyTranslator { public static Set<software.amazon.cloudformation.stackset.Tag> translateFromSdkTags(final Collection<Tag> tags) { if (CollectionUtils.isNullOrEmpty(tags)) return null; return tags.stream().map(tag -> software.amazon.cloudformation.stackset.Tag.builder() .key(tag.key()) .value(tag.value()) .build()) .collect(Collectors.toSet()); }  static software.amazon.cloudformation.stackset.AutoDeployment translateFromSdkAutoDeployment(
            final AutoDeployment autoDeployment); static AutoDeployment translateToSdkAutoDeployment(
            final software.amazon.cloudformation.stackset.AutoDeployment autoDeployment); static Set<software.amazon.cloudformation.stackset.Parameter> translateFromSdkParameters(
            final Collection<Parameter> parameters); static Set<software.amazon.cloudformation.stackset.Tag> translateFromSdkTags(final Collection<Tag> tags); static StackInstance translateToStackInstance(
            final boolean isSelfManaged,
            final StackInstanceSummary summary,
            final Collection<Parameter> parameters);  }