@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AthenaParameters extends Object implements Serializable, Cloneable, StructuredPojo
Parameters for Amazon Athena.
Constructor and Description |
---|
AthenaParameters() |
Modifier and Type | Method and Description |
---|---|
AthenaParameters |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
Use the
RoleArn structure to override an account-wide role for a specific Athena data source. |
String |
getWorkGroup()
The workgroup that Amazon Athena uses.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
Use the
RoleArn structure to override an account-wide role for a specific Athena data source. |
void |
setWorkGroup(String workGroup)
The workgroup that Amazon Athena uses.
|
String |
toString()
Returns a string representation of this object.
|
AthenaParameters |
withRoleArn(String roleArn)
Use the
RoleArn structure to override an account-wide role for a specific Athena data source. |
AthenaParameters |
withWorkGroup(String workGroup)
The workgroup that Amazon Athena uses.
|
public void setWorkGroup(String workGroup)
The workgroup that Amazon Athena uses.
workGroup
- The workgroup that Amazon Athena uses.public String getWorkGroup()
The workgroup that Amazon Athena uses.
public AthenaParameters withWorkGroup(String workGroup)
The workgroup that Amazon Athena uses.
workGroup
- The workgroup that Amazon Athena uses.public void setRoleArn(String roleArn)
Use the RoleArn
structure to override an account-wide role for a specific Athena data source. For
example, say an account administrator has turned off all Athena access with an account-wide role. The
administrator can then use RoleArn
to bypass the account-wide role and allow Athena access for the
single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena
access is still active.
roleArn
- Use the RoleArn
structure to override an account-wide role for a specific Athena data source.
For example, say an account administrator has turned off all Athena access with an account-wide role. The
administrator can then use RoleArn
to bypass the account-wide role and allow Athena access
for the single Athena data source that is specified in the structure, even if the account-wide role
forbidding Athena access is still active.public String getRoleArn()
Use the RoleArn
structure to override an account-wide role for a specific Athena data source. For
example, say an account administrator has turned off all Athena access with an account-wide role. The
administrator can then use RoleArn
to bypass the account-wide role and allow Athena access for the
single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena
access is still active.
RoleArn
structure to override an account-wide role for a specific Athena data
source. For example, say an account administrator has turned off all Athena access with an account-wide
role. The administrator can then use RoleArn
to bypass the account-wide role and allow
Athena access for the single Athena data source that is specified in the structure, even if the
account-wide role forbidding Athena access is still active.public AthenaParameters withRoleArn(String roleArn)
Use the RoleArn
structure to override an account-wide role for a specific Athena data source. For
example, say an account administrator has turned off all Athena access with an account-wide role. The
administrator can then use RoleArn
to bypass the account-wide role and allow Athena access for the
single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena
access is still active.
roleArn
- Use the RoleArn
structure to override an account-wide role for a specific Athena data source.
For example, say an account administrator has turned off all Athena access with an account-wide role. The
administrator can then use RoleArn
to bypass the account-wide role and allow Athena access
for the single Athena data source that is specified in the structure, even if the account-wide role
forbidding Athena access is still active.public String toString()
toString
in class Object
Object.toString()
public AthenaParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.