Class GetPolicyOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String id,
                       String bluemixInstance)
        Instantiates a new builder with required properties.
        Parameters:
        id - the id
        bluemixInstance - the bluemixInstance
    • Method Detail

      • build

        public GetPolicyOptions build()
        Builds a GetPolicyOptions.
        Returns:
        the new GetPolicyOptions instance
      • bluemixInstance

        public GetPolicyOptions.Builder bluemixInstance​(String bluemixInstance)
        Set the bluemixInstance.
        Parameters:
        bluemixInstance - the bluemixInstance
        Returns:
        the GetPolicyOptions builder
      • correlationId

        public GetPolicyOptions.Builder correlationId​(String correlationId)
        Set the correlationId.
        Parameters:
        correlationId - the correlationId
        Returns:
        the GetPolicyOptions builder
      • xKmsKeyRing

        public GetPolicyOptions.Builder xKmsKeyRing​(String xKmsKeyRing)
        Set the xKmsKeyRing.
        Parameters:
        xKmsKeyRing - the xKmsKeyRing
        Returns:
        the GetPolicyOptions builder
      • policy

        public GetPolicyOptions.Builder policy​(String policy)
        Set the policy.
        Parameters:
        policy - the policy
        Returns:
        the GetPolicyOptions builder