JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.datazone.model

Class CreateSubscriptionGrantResult

    • Constructor Detail

      • CreateSubscriptionGrantResult

        public CreateSubscriptionGrantResult()
    • Method Detail

      • getAssets

        public List<SubscribedAsset> getAssets()

        The assets for which the subscription grant is created.

        Returns:
        The assets for which the subscription grant is created.
      • setAssets

        public void setAssets(Collection<SubscribedAsset> assets)

        The assets for which the subscription grant is created.

        Parameters:
        assets - The assets for which the subscription grant is created.
      • withAssets

        public CreateSubscriptionGrantResult withAssets(Collection<SubscribedAsset> assets)

        The assets for which the subscription grant is created.

        Parameters:
        assets - The assets for which the subscription grant is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatedAt

        public void setCreatedAt(Date createdAt)

        A timestamp of when the subscription grant is created.

        Parameters:
        createdAt - A timestamp of when the subscription grant is created.
      • getCreatedAt

        public Date getCreatedAt()

        A timestamp of when the subscription grant is created.

        Returns:
        A timestamp of when the subscription grant is created.
      • withCreatedAt

        public CreateSubscriptionGrantResult withCreatedAt(Date createdAt)

        A timestamp of when the subscription grant is created.

        Parameters:
        createdAt - A timestamp of when the subscription grant is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatedBy

        public void setCreatedBy(String createdBy)

        The Amazon DataZone user who created the subscription grant.

        Parameters:
        createdBy - The Amazon DataZone user who created the subscription grant.
      • getCreatedBy

        public String getCreatedBy()

        The Amazon DataZone user who created the subscription grant.

        Returns:
        The Amazon DataZone user who created the subscription grant.
      • withCreatedBy

        public CreateSubscriptionGrantResult withCreatedBy(String createdBy)

        The Amazon DataZone user who created the subscription grant.

        Parameters:
        createdBy - The Amazon DataZone user who created the subscription grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDomainId

        public void setDomainId(String domainId)

        The ID of the Amazon DataZone domain in which the subscription grant is created.

        Parameters:
        domainId - The ID of the Amazon DataZone domain in which the subscription grant is created.
      • getDomainId

        public String getDomainId()

        The ID of the Amazon DataZone domain in which the subscription grant is created.

        Returns:
        The ID of the Amazon DataZone domain in which the subscription grant is created.
      • withDomainId

        public CreateSubscriptionGrantResult withDomainId(String domainId)

        The ID of the Amazon DataZone domain in which the subscription grant is created.

        Parameters:
        domainId - The ID of the Amazon DataZone domain in which the subscription grant is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setGrantedEntity

        public void setGrantedEntity(GrantedEntity grantedEntity)

        The entity to which the subscription is granted.

        Parameters:
        grantedEntity - The entity to which the subscription is granted.
      • getGrantedEntity

        public GrantedEntity getGrantedEntity()

        The entity to which the subscription is granted.

        Returns:
        The entity to which the subscription is granted.
      • withGrantedEntity

        public CreateSubscriptionGrantResult withGrantedEntity(GrantedEntity grantedEntity)

        The entity to which the subscription is granted.

        Parameters:
        grantedEntity - The entity to which the subscription is granted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setId

        public void setId(String id)

        The ID of the subscription grant.

        Parameters:
        id - The ID of the subscription grant.
      • getId

        public String getId()

        The ID of the subscription grant.

        Returns:
        The ID of the subscription grant.
      • withId

        public CreateSubscriptionGrantResult withId(String id)

        The ID of the subscription grant.

        Parameters:
        id - The ID of the subscription grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus(String status)

        The status of the subscription grant.

        Parameters:
        status - The status of the subscription grant.
        See Also:
        SubscriptionGrantOverallStatus
      • setSubscriptionId

        public void setSubscriptionId(String subscriptionId)

        The identifier of the subscription grant.

        Parameters:
        subscriptionId - The identifier of the subscription grant.
      • getSubscriptionId

        public String getSubscriptionId()

        The identifier of the subscription grant.

        Returns:
        The identifier of the subscription grant.
      • withSubscriptionId

        public CreateSubscriptionGrantResult withSubscriptionId(String subscriptionId)

        The identifier of the subscription grant.

        Parameters:
        subscriptionId - The identifier of the subscription grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSubscriptionTargetId

        public void setSubscriptionTargetId(String subscriptionTargetId)

        The ID of the subscription target for which the subscription grant is created.

        Parameters:
        subscriptionTargetId - The ID of the subscription target for which the subscription grant is created.
      • getSubscriptionTargetId

        public String getSubscriptionTargetId()

        The ID of the subscription target for which the subscription grant is created.

        Returns:
        The ID of the subscription target for which the subscription grant is created.
      • withSubscriptionTargetId

        public CreateSubscriptionGrantResult withSubscriptionTargetId(String subscriptionTargetId)

        The ID of the subscription target for which the subscription grant is created.

        Parameters:
        subscriptionTargetId - The ID of the subscription target for which the subscription grant is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUpdatedAt

        public void setUpdatedAt(Date updatedAt)

        A timestamp of when the subscription grant was updated.

        Parameters:
        updatedAt - A timestamp of when the subscription grant was updated.
      • getUpdatedAt

        public Date getUpdatedAt()

        A timestamp of when the subscription grant was updated.

        Returns:
        A timestamp of when the subscription grant was updated.
      • withUpdatedAt

        public CreateSubscriptionGrantResult withUpdatedAt(Date updatedAt)

        A timestamp of when the subscription grant was updated.

        Parameters:
        updatedAt - A timestamp of when the subscription grant was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUpdatedBy

        public void setUpdatedBy(String updatedBy)

        The Amazon DataZone user who updated the subscription grant.

        Parameters:
        updatedBy - The Amazon DataZone user who updated the subscription grant.
      • getUpdatedBy

        public String getUpdatedBy()

        The Amazon DataZone user who updated the subscription grant.

        Returns:
        The Amazon DataZone user who updated the subscription grant.
      • withUpdatedBy

        public CreateSubscriptionGrantResult withUpdatedBy(String updatedBy)

        The Amazon DataZone user who updated the subscription grant.

        Parameters:
        updatedBy - The Amazon DataZone user who updated the subscription grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /