@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCredentialsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetCredentialsRequest() |
Modifier and Type | Method and Description |
---|---|
GetCredentialsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDbName()
The name of the database to get temporary authorization to log on to.
|
Integer |
getDurationSeconds()
The number of seconds until the returned temporary password expires.
|
String |
getWorkgroupName()
The name of the workgroup associated with the database.
|
int |
hashCode() |
void |
setDbName(String dbName)
The name of the database to get temporary authorization to log on to.
|
void |
setDurationSeconds(Integer durationSeconds)
The number of seconds until the returned temporary password expires.
|
void |
setWorkgroupName(String workgroupName)
The name of the workgroup associated with the database.
|
String |
toString()
Returns a string representation of this object.
|
GetCredentialsRequest |
withDbName(String dbName)
The name of the database to get temporary authorization to log on to.
|
GetCredentialsRequest |
withDurationSeconds(Integer durationSeconds)
The number of seconds until the returned temporary password expires.
|
GetCredentialsRequest |
withWorkgroupName(String workgroupName)
The name of the workgroup associated with the database.
|
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 setDbName(String dbName)
The name of the database to get temporary authorization to log on to.
Constraints:
Must be 1 to 64 alphanumeric characters or hyphens.
Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon ( : ) or slash ( / ).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
dbName
- The name of the database to get temporary authorization to log on to.
Constraints:
Must be 1 to 64 alphanumeric characters or hyphens.
Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon ( : ) or slash ( / ).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
public String getDbName()
The name of the database to get temporary authorization to log on to.
Constraints:
Must be 1 to 64 alphanumeric characters or hyphens.
Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon ( : ) or slash ( / ).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
Constraints:
Must be 1 to 64 alphanumeric characters or hyphens.
Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon ( : ) or slash ( / ).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
public GetCredentialsRequest withDbName(String dbName)
The name of the database to get temporary authorization to log on to.
Constraints:
Must be 1 to 64 alphanumeric characters or hyphens.
Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon ( : ) or slash ( / ).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
dbName
- The name of the database to get temporary authorization to log on to.
Constraints:
Must be 1 to 64 alphanumeric characters or hyphens.
Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon ( : ) or slash ( / ).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
public void setDurationSeconds(Integer durationSeconds)
The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.
durationSeconds
- The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the
maximum is 3600 seconds.public Integer getDurationSeconds()
The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.
public GetCredentialsRequest withDurationSeconds(Integer durationSeconds)
The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.
durationSeconds
- The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the
maximum is 3600 seconds.public void setWorkgroupName(String workgroupName)
The name of the workgroup associated with the database.
workgroupName
- The name of the workgroup associated with the database.public String getWorkgroupName()
The name of the workgroup associated with the database.
public GetCredentialsRequest withWorkgroupName(String workgroupName)
The name of the workgroup associated with the database.
workgroupName
- The name of the workgroup associated with the database.public String toString()
toString
in class Object
Object.toString()
public GetCredentialsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()