Interface ReplicationConfiguration.Builder

    • Method Detail

      • role

        ReplicationConfiguration.Builder role​(String role)

        The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects. For more information, see How to Set Up Replication in the Amazon S3 User Guide.

        Parameters:
        role - The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when replicating objects. For more information, see How to Set Up Replication in the Amazon S3 User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        ReplicationConfiguration.Builder rules​(Collection<ReplicationRule> rules)

        A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.

        Parameters:
        rules - A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        ReplicationConfiguration.Builder rules​(ReplicationRule... rules)

        A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.

        Parameters:
        rules - A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.