Interface GetTrafficPolicyResponse.Builder

    • Method Detail

      • createdTimestamp

        GetTrafficPolicyResponse.Builder createdTimestamp​(Instant createdTimestamp)

        The timestamp of when the traffic policy was created.

        Parameters:
        createdTimestamp - The timestamp of when the traffic policy was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultAction

        GetTrafficPolicyResponse.Builder defaultAction​(String defaultAction)

        The default action of the traffic policy.

        Parameters:
        defaultAction - The default action of the traffic policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AcceptAction, AcceptAction
      • lastUpdatedTimestamp

        GetTrafficPolicyResponse.Builder lastUpdatedTimestamp​(Instant lastUpdatedTimestamp)

        The timestamp of when the traffic policy was last updated.

        Parameters:
        lastUpdatedTimestamp - The timestamp of when the traffic policy was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxMessageSizeBytes

        GetTrafficPolicyResponse.Builder maxMessageSizeBytes​(Integer maxMessageSizeBytes)

        The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

        Parameters:
        maxMessageSizeBytes - The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyStatements

        GetTrafficPolicyResponse.Builder policyStatements​(Collection<PolicyStatement> policyStatements)

        The list of conditions which are in the traffic policy resource.

        Parameters:
        policyStatements - The list of conditions which are in the traffic policy resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyStatements

        GetTrafficPolicyResponse.Builder policyStatements​(PolicyStatement... policyStatements)

        The list of conditions which are in the traffic policy resource.

        Parameters:
        policyStatements - The list of conditions which are in the traffic policy resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trafficPolicyArn

        GetTrafficPolicyResponse.Builder trafficPolicyArn​(String trafficPolicyArn)

        The Amazon Resource Name (ARN) of the traffic policy resource.

        Parameters:
        trafficPolicyArn - The Amazon Resource Name (ARN) of the traffic policy resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trafficPolicyId

        GetTrafficPolicyResponse.Builder trafficPolicyId​(String trafficPolicyId)

        The identifier of the traffic policy resource.

        Parameters:
        trafficPolicyId - The identifier of the traffic policy resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trafficPolicyName

        GetTrafficPolicyResponse.Builder trafficPolicyName​(String trafficPolicyName)

        A user-friendly name for the traffic policy resource.

        Parameters:
        trafficPolicyName - A user-friendly name for the traffic policy resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.