@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLocationObjectStorageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateLocationObjectStorageRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateLocationObjectStorageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessKey()
Optional.
|
List<String> |
getAgentArns()
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
String |
getLocationArn()
The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.
|
String |
getSecretKey()
Optional.
|
Integer |
getServerPort()
The port that your self-managed object storage server accepts inbound network traffic on.
|
String |
getServerProtocol()
The protocol that the object storage server uses to communicate.
|
String |
getSubdirectory()
The subdirectory in the self-managed object storage server that is used to read data from.
|
int |
hashCode() |
void |
setAccessKey(String accessKey)
Optional.
|
void |
setAgentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
void |
setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.
|
void |
setSecretKey(String secretKey)
Optional.
|
void |
setServerPort(Integer serverPort)
The port that your self-managed object storage server accepts inbound network traffic on.
|
void |
setServerProtocol(String serverProtocol)
The protocol that the object storage server uses to communicate.
|
void |
setSubdirectory(String subdirectory)
The subdirectory in the self-managed object storage server that is used to read data from.
|
String |
toString()
Returns a string representation of this object.
|
UpdateLocationObjectStorageRequest |
withAccessKey(String accessKey)
Optional.
|
UpdateLocationObjectStorageRequest |
withAgentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
UpdateLocationObjectStorageRequest |
withAgentArns(String... agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
|
UpdateLocationObjectStorageRequest |
withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.
|
UpdateLocationObjectStorageRequest |
withSecretKey(String secretKey)
Optional.
|
UpdateLocationObjectStorageRequest |
withServerPort(Integer serverPort)
The port that your self-managed object storage server accepts inbound network traffic on.
|
UpdateLocationObjectStorageRequest |
withServerProtocol(ObjectStorageServerProtocol serverProtocol)
The protocol that the object storage server uses to communicate.
|
UpdateLocationObjectStorageRequest |
withServerProtocol(String serverProtocol)
The protocol that the object storage server uses to communicate.
|
UpdateLocationObjectStorageRequest |
withSubdirectory(String subdirectory)
The subdirectory in the self-managed object storage server that is used to read data from.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.
locationArn
- The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.public String getLocationArn()
The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.
public UpdateLocationObjectStorageRequest withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.
locationArn
- The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.public void setServerPort(Integer serverPort)
The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.
serverPort
- The port that your self-managed object storage server accepts inbound network traffic on. The server port
is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed
object storage server requires one.public Integer getServerPort()
The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.
public UpdateLocationObjectStorageRequest withServerPort(Integer serverPort)
The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.
serverPort
- The port that your self-managed object storage server accepts inbound network traffic on. The server port
is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed
object storage server requires one.public void setServerProtocol(String serverProtocol)
The protocol that the object storage server uses to communicate. Valid values are HTTP
or
HTTPS
.
serverProtocol
- The protocol that the object storage server uses to communicate. Valid values are HTTP
or
HTTPS
.ObjectStorageServerProtocol
public String getServerProtocol()
The protocol that the object storage server uses to communicate. Valid values are HTTP
or
HTTPS
.
HTTP
or
HTTPS
.ObjectStorageServerProtocol
public UpdateLocationObjectStorageRequest withServerProtocol(String serverProtocol)
The protocol that the object storage server uses to communicate. Valid values are HTTP
or
HTTPS
.
serverProtocol
- The protocol that the object storage server uses to communicate. Valid values are HTTP
or
HTTPS
.ObjectStorageServerProtocol
public UpdateLocationObjectStorageRequest withServerProtocol(ObjectStorageServerProtocol serverProtocol)
The protocol that the object storage server uses to communicate. Valid values are HTTP
or
HTTPS
.
serverProtocol
- The protocol that the object storage server uses to communicate. Valid values are HTTP
or
HTTPS
.ObjectStorageServerProtocol
public void setSubdirectory(String subdirectory)
The subdirectory in the self-managed object storage server that is used to read data from.
subdirectory
- The subdirectory in the self-managed object storage server that is used to read data from.public String getSubdirectory()
The subdirectory in the self-managed object storage server that is used to read data from.
public UpdateLocationObjectStorageRequest withSubdirectory(String subdirectory)
The subdirectory in the self-managed object storage server that is used to read data from.
subdirectory
- The subdirectory in the self-managed object storage server that is used to read data from.public void setAccessKey(String accessKey)
Optional. The access key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey
and
SecretKey
to provide the user name and password, respectively.
accessKey
- Optional. The access key is used if credentials are required to access the self-managed object storage
server. If your object storage requires a user name and password to authenticate, use
AccessKey
and SecretKey
to provide the user name and password, respectively.public String getAccessKey()
Optional. The access key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey
and
SecretKey
to provide the user name and password, respectively.
AccessKey
and SecretKey
to provide the user name and password, respectively.public UpdateLocationObjectStorageRequest withAccessKey(String accessKey)
Optional. The access key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey
and
SecretKey
to provide the user name and password, respectively.
accessKey
- Optional. The access key is used if credentials are required to access the self-managed object storage
server. If your object storage requires a user name and password to authenticate, use
AccessKey
and SecretKey
to provide the user name and password, respectively.public void setSecretKey(String secretKey)
Optional. The secret key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey
and
SecretKey
to provide the user name and password, respectively.
secretKey
- Optional. The secret key is used if credentials are required to access the self-managed object storage
server. If your object storage requires a user name and password to authenticate, use
AccessKey
and SecretKey
to provide the user name and password, respectively.public String getSecretKey()
Optional. The secret key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey
and
SecretKey
to provide the user name and password, respectively.
AccessKey
and SecretKey
to provide the user name and password, respectively.public UpdateLocationObjectStorageRequest withSecretKey(String secretKey)
Optional. The secret key is used if credentials are required to access the self-managed object storage server. If
your object storage requires a user name and password to authenticate, use AccessKey
and
SecretKey
to provide the user name and password, respectively.
secretKey
- Optional. The secret key is used if credentials are required to access the self-managed object storage
server. If your object storage requires a user name and password to authenticate, use
AccessKey
and SecretKey
to provide the user name and password, respectively.public List<String> getAgentArns()
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
public void setAgentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
agentArns
- The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server
location.public UpdateLocationObjectStorageRequest withAgentArns(String... agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
NOTE: This method appends the values to the existing list (if any). Use
setAgentArns(java.util.Collection)
or withAgentArns(java.util.Collection)
if you want to
override the existing values.
agentArns
- The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server
location.public UpdateLocationObjectStorageRequest withAgentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
agentArns
- The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server
location.public String toString()
toString
in class Object
Object.toString()
public UpdateLocationObjectStorageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()