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.licensemanager.model

Class CreateGrantVersionRequest

    • Constructor Detail

      • CreateGrantVersionRequest

        public CreateGrantVersionRequest()
    • Method Detail

      • setClientToken

        public void setClientToken(String clientToken)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

        Parameters:
        clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      • getClientToken

        public String getClientToken()

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

        Returns:
        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      • withClientToken

        public CreateGrantVersionRequest withClientToken(String clientToken)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

        Parameters:
        clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setGrantArn

        public void setGrantArn(String grantArn)

        Amazon Resource Name (ARN) of the grant.

        Parameters:
        grantArn - Amazon Resource Name (ARN) of the grant.
      • getGrantArn

        public String getGrantArn()

        Amazon Resource Name (ARN) of the grant.

        Returns:
        Amazon Resource Name (ARN) of the grant.
      • withGrantArn

        public CreateGrantVersionRequest withGrantArn(String grantArn)

        Amazon Resource Name (ARN) of the grant.

        Parameters:
        grantArn - Amazon Resource Name (ARN) of the grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setGrantName

        public void setGrantName(String grantName)

        Grant name.

        Parameters:
        grantName - Grant name.
      • getGrantName

        public String getGrantName()

        Grant name.

        Returns:
        Grant name.
      • withGrantName

        public CreateGrantVersionRequest withGrantName(String grantName)

        Grant name.

        Parameters:
        grantName - Grant name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAllowedOperations

        public List<String> getAllowedOperations()

        Allowed operations for the grant.

        Returns:
        Allowed operations for the grant.
        See Also:
        AllowedOperation
      • setAllowedOperations

        public void setAllowedOperations(Collection<String> allowedOperations)

        Allowed operations for the grant.

        Parameters:
        allowedOperations - Allowed operations for the grant.
        See Also:
        AllowedOperation
      • withAllowedOperations

        public CreateGrantVersionRequest withAllowedOperations(Collection<String> allowedOperations)

        Allowed operations for the grant.

        Parameters:
        allowedOperations - Allowed operations for the grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowedOperation
      • withAllowedOperations

        public CreateGrantVersionRequest withAllowedOperations(AllowedOperation... allowedOperations)

        Allowed operations for the grant.

        Parameters:
        allowedOperations - Allowed operations for the grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AllowedOperation
      • setStatus

        public void setStatus(String status)

        Grant status.

        Parameters:
        status - Grant status.
        See Also:
        GrantStatus
      • getStatus

        public String getStatus()

        Grant status.

        Returns:
        Grant status.
        See Also:
        GrantStatus
      • withStatus

        public CreateGrantVersionRequest withStatus(String status)

        Grant status.

        Parameters:
        status - Grant status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GrantStatus
      • withStatus

        public CreateGrantVersionRequest withStatus(GrantStatus status)

        Grant status.

        Parameters:
        status - Grant status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        GrantStatus
      • setStatusReason

        public void setStatusReason(String statusReason)

        Grant status reason.

        Parameters:
        statusReason - Grant status reason.
      • getStatusReason

        public String getStatusReason()

        Grant status reason.

        Returns:
        Grant status reason.
      • withStatusReason

        public CreateGrantVersionRequest withStatusReason(String statusReason)

        Grant status reason.

        Parameters:
        statusReason - Grant status reason.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceVersion

        public void setSourceVersion(String sourceVersion)

        Current version of the grant.

        Parameters:
        sourceVersion - Current version of the grant.
      • getSourceVersion

        public String getSourceVersion()

        Current version of the grant.

        Returns:
        Current version of the grant.
      • withSourceVersion

        public CreateGrantVersionRequest withSourceVersion(String sourceVersion)

        Current version of the grant.

        Parameters:
        sourceVersion - Current version of the grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOptions

        public void setOptions(Options options)

        The options specified for the grant.

        Parameters:
        options - The options specified for the grant.
      • getOptions

        public Options getOptions()

        The options specified for the grant.

        Returns:
        The options specified for the grant.
      • withOptions

        public CreateGrantVersionRequest withOptions(Options options)

        The options specified for the grant.

        Parameters:
        options - The options specified for the 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 によって変換されたページ (->オリジナル) /