JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

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

Class UpdatePolicyResult

    • Constructor Detail

      • UpdatePolicyResult

        public UpdatePolicyResult()
    • Method Detail

      • setPolicyStoreId

        public void setPolicyStoreId(String policyStoreId)

        The ID of the policy store that contains the policy that was updated.

        Parameters:
        policyStoreId - The ID of the policy store that contains the policy that was updated.
      • getPolicyStoreId

        public String getPolicyStoreId()

        The ID of the policy store that contains the policy that was updated.

        Returns:
        The ID of the policy store that contains the policy that was updated.
      • withPolicyStoreId

        public UpdatePolicyResult withPolicyStoreId(String policyStoreId)

        The ID of the policy store that contains the policy that was updated.

        Parameters:
        policyStoreId - The ID of the policy store that contains the policy that was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPolicyId

        public void setPolicyId(String policyId)

        The ID of the policy that was updated.

        Parameters:
        policyId - The ID of the policy that was updated.
      • getPolicyId

        public String getPolicyId()

        The ID of the policy that was updated.

        Returns:
        The ID of the policy that was updated.
      • withPolicyId

        public UpdatePolicyResult withPolicyId(String policyId)

        The ID of the policy that was updated.

        Parameters:
        policyId - The ID of the policy that was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPolicyType

        public void setPolicyType(String policyType)

        The type of the policy that was updated.

        Parameters:
        policyType - The type of the policy that was updated.
        See Also:
        PolicyType
      • getPolicyType

        public String getPolicyType()

        The type of the policy that was updated.

        Returns:
        The type of the policy that was updated.
        See Also:
        PolicyType
      • withPolicyType

        public UpdatePolicyResult withPolicyType(String policyType)

        The type of the policy that was updated.

        Parameters:
        policyType - The type of the policy that was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PolicyType
      • withPolicyType

        public UpdatePolicyResult withPolicyType(PolicyType policyType)

        The type of the policy that was updated.

        Parameters:
        policyType - The type of the policy that was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PolicyType
      • setPrincipal

        public void setPrincipal(EntityIdentifier principal)

        The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.

        Parameters:
        principal - The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.
      • getPrincipal

        public EntityIdentifier getPrincipal()

        The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.

        Returns:
        The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.
      • withPrincipal

        public UpdatePolicyResult withPrincipal(EntityIdentifier principal)

        The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.

        Parameters:
        principal - The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setResource

        public void setResource(EntityIdentifier resource)

        The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.

        Parameters:
        resource - The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
      • getResource

        public EntityIdentifier getResource()

        The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.

        Returns:
        The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
      • withResource

        public UpdatePolicyResult withResource(EntityIdentifier resource)

        The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.

        Parameters:
        resource - The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getActions

        public List<ActionIdentifier> getActions()

        The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .

        Returns:
        The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .
      • setActions

        public void setActions(Collection<ActionIdentifier> actions)

        The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .

        Parameters:
        actions - The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .
      • withActions

        public UpdatePolicyResult withActions(ActionIdentifier... actions)

        The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .

        NOTE: This method appends the values to the existing list (if any). Use setActions(java.util.Collection) or withActions(java.util.Collection) if you want to override the existing values.

        Parameters:
        actions - The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withActions

        public UpdatePolicyResult withActions(Collection<ActionIdentifier> actions)

        The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .

        Parameters:
        actions - The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatedDate

        public void setCreatedDate(Date createdDate)

        The date and time that the policy was originally created.

        Parameters:
        createdDate - The date and time that the policy was originally created.
      • getCreatedDate

        public Date getCreatedDate()

        The date and time that the policy was originally created.

        Returns:
        The date and time that the policy was originally created.
      • withCreatedDate

        public UpdatePolicyResult withCreatedDate(Date createdDate)

        The date and time that the policy was originally created.

        Parameters:
        createdDate - The date and time that the policy was originally created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastUpdatedDate

        public void setLastUpdatedDate(Date lastUpdatedDate)

        The date and time that the policy was most recently updated.

        Parameters:
        lastUpdatedDate - The date and time that the policy was most recently updated.
      • getLastUpdatedDate

        public Date getLastUpdatedDate()

        The date and time that the policy was most recently updated.

        Returns:
        The date and time that the policy was most recently updated.
      • withLastUpdatedDate

        public UpdatePolicyResult withLastUpdatedDate(Date lastUpdatedDate)

        The date and time that the policy was most recently updated.

        Parameters:
        lastUpdatedDate - The date and time that the policy was most recently updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEffect

        public void setEffect(String effect)

        The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".

        Parameters:
        effect - The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
        See Also:
        PolicyEffect
      • getEffect

        public String getEffect()

        The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".

        Returns:
        The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
        See Also:
        PolicyEffect
      • withEffect

        public UpdatePolicyResult withEffect(String effect)

        The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".

        Parameters:
        effect - The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PolicyEffect
      • withEffect

        public UpdatePolicyResult withEffect(PolicyEffect effect)

        The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".

        Parameters:
        effect - The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PolicyEffect
      • 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 によって変換されたページ (->オリジナル) /