All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redis.riot.file.AwsOptions Maven / Gradle / Ivy

There is a newer version: 4.1.3
Show newest version
package com.redis.riot.file;

import java.net.URI;
import java.util.Optional;

import lombok.ToString;
import software.amazon.awssdk.regions.Region;

@ToString
public class AwsOptions {

	private AwsCredentials credentials = new AwsCredentials();
	private Optional region = Optional.empty();
	private Optional endpoint = Optional.empty();

	public AwsCredentials getCredentials() {
		return credentials;
	}

	public void setCredentials(AwsCredentials credentials) {
		this.credentials = credentials;
	}

	public Optional getRegion() {
		return region;
	}

	public void setRegion(Region region) {
		this.region = Optional.ofNullable(region);
	}

	public Optional getEndpoint() {
		return endpoint;
	}

	public void setEndpoint(URI endpoint) {
		this.endpoint = Optional.ofNullable(endpoint);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy