Class AttachTagOptions.Builder

  • Enclosing class:
    AttachTagOptions

    public static class AttachTagOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public AttachTagOptions build()
        Builds a AttachTagOptions.
        Returns:
        the new AttachTagOptions instance
      • addTagNames

        public AttachTagOptions.Builder addTagNames​(java.lang.String tagNames)
        Adds a new element to tagNames.
        Parameters:
        tagNames - the new element to be added
        Returns:
        the AttachTagOptions builder
      • addResources

        public AttachTagOptions.Builder addResources​(Resource resources)
        Adds a new element to resources.
        Parameters:
        resources - the new element to be added
        Returns:
        the AttachTagOptions builder
      • tagName

        public AttachTagOptions.Builder tagName​(java.lang.String tagName)
        Set the tagName.
        Parameters:
        tagName - the tagName
        Returns:
        the AttachTagOptions builder
      • tagNames

        public AttachTagOptions.Builder tagNames​(java.util.List<java.lang.String> tagNames)
        Set the tagNames. Existing tagNames will be replaced.
        Parameters:
        tagNames - the tagNames
        Returns:
        the AttachTagOptions builder
      • resources

        public AttachTagOptions.Builder resources​(java.util.List<Resource> resources)
        Set the resources. Existing resources will be replaced.
        Parameters:
        resources - the resources
        Returns:
        the AttachTagOptions builder
      • xRequestId

        public AttachTagOptions.Builder xRequestId​(java.lang.String xRequestId)
        Set the xRequestId.
        Parameters:
        xRequestId - the xRequestId
        Returns:
        the AttachTagOptions builder
      • xCorrelationId

        public AttachTagOptions.Builder xCorrelationId​(java.lang.String xCorrelationId)
        Set the xCorrelationId.
        Parameters:
        xCorrelationId - the xCorrelationId
        Returns:
        the AttachTagOptions builder
      • accountId

        public AttachTagOptions.Builder accountId​(java.lang.String accountId)
        Set the accountId.
        Parameters:
        accountId - the accountId
        Returns:
        the AttachTagOptions builder
      • tagType

        public AttachTagOptions.Builder tagType​(java.lang.String tagType)
        Set the tagType.
        Parameters:
        tagType - the tagType
        Returns:
        the AttachTagOptions builder
      • replace

        public AttachTagOptions.Builder replace​(java.lang.Boolean replace)
        Set the replace.
        Parameters:
        replace - the replace
        Returns:
        the AttachTagOptions builder
      • update

        public AttachTagOptions.Builder update​(java.lang.Boolean update)
        Set the update.
        Parameters:
        update - the update
        Returns:
        the AttachTagOptions builder