Class ApiMetadataSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • serviceName

        public ApiMetadataSummary.Builder serviceName​(String serviceName)
        The service Name to which the Api belongs to.
        Parameters:
        serviceName - the value to set
        Returns:
        this builder
      • displayName

        public ApiMetadataSummary.Builder displayName​(String displayName)
        Name of the Api.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • entityType

        public ApiMetadataSummary.Builder entityType​(String entityType)
        EntityType to which the apiMetadata belongs to.
        Parameters:
        entityType - the value to set
        Returns:
        this builder
      • apiName

        public ApiMetadataSummary.Builder apiName​(String apiName)
        The name of the api to execute the api request.
        Parameters:
        apiName - the value to set
        Returns:
        this builder
      • attributes

        public ApiMetadataSummary.Builder attributes​(List<String> attributes)
        List of the fields that is use while calling post or put for the data.
        Parameters:
        attributes - the value to set
        Returns:
        this builder
      • timeCreated

        public ApiMetadataSummary.Builder timeCreated​(Date timeCreated)
        The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ApiMetadataSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public ApiMetadataSummary.Builder lifecycleDetails​(String lifecycleDetails)
        A message that describes the current state of the ApiMetadata in more detail.

        For example, can be used to provide actionable information for a resource in the Failed state.

        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • freeformTags

        public ApiMetadataSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public ApiMetadataSummary.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public ApiMetadataSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace.

        Example: {"orcl-cloud": {"free-tier-retained": "true"}}

        Parameters:
        systemTags - the value to set
        Returns:
        this builder