Class SourceApiAssociationConfig

    • Method Detail

      • mergeType

        public final MergeType mergeType()

        The property that indicates which merging option is enabled in the source API association.

        Valid merge types are MANUAL_MERGE (default) and AUTO_MERGE. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn to perform merge operations.

        If the service returns an enum value that is not available in the current SDK version, mergeType will return MergeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from mergeTypeAsString().

        Returns:
        The property that indicates which merging option is enabled in the source API association.

        Valid merge types are MANUAL_MERGE (default) and AUTO_MERGE. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn to perform merge operations.

        See Also:
        MergeType
      • mergeTypeAsString

        public final String mergeTypeAsString()

        The property that indicates which merging option is enabled in the source API association.

        Valid merge types are MANUAL_MERGE (default) and AUTO_MERGE. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn to perform merge operations.

        If the service returns an enum value that is not available in the current SDK version, mergeType will return MergeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from mergeTypeAsString().

        Returns:
        The property that indicates which merging option is enabled in the source API association.

        Valid merge types are MANUAL_MERGE (default) and AUTO_MERGE. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn to perform merge operations.

        See Also:
        MergeType
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)