@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataCatalogSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary information for the data catalog, which includes its name and type.
Constructor and Description |
---|
DataCatalogSummary() |
Modifier and Type | Method and Description |
---|---|
DataCatalogSummary |
clone() |
boolean |
equals(Object obj) |
String |
getCatalogName()
The name of the data catalog.
|
String |
getType()
The data catalog type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCatalogName(String catalogName)
The name of the data catalog.
|
void |
setType(String type)
The data catalog type.
|
String |
toString()
Returns a string representation of this object.
|
DataCatalogSummary |
withCatalogName(String catalogName)
The name of the data catalog.
|
DataCatalogSummary |
withType(DataCatalogType type)
The data catalog type.
|
DataCatalogSummary |
withType(String type)
The data catalog type.
|
public void setCatalogName(String catalogName)
The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.
catalogName
- The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a
maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length
constraint of 256 is reserved for use by Athena.public String getCatalogName()
The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.
public DataCatalogSummary withCatalogName(String catalogName)
The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.
catalogName
- The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a
maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length
constraint of 256 is reserved for use by Athena.public void setType(String type)
The data catalog type.
type
- The data catalog type.DataCatalogType
public String getType()
The data catalog type.
DataCatalogType
public DataCatalogSummary withType(String type)
The data catalog type.
type
- The data catalog type.DataCatalogType
public DataCatalogSummary withType(DataCatalogType type)
The data catalog type.
type
- The data catalog type.DataCatalogType
public String toString()
toString
in class Object
Object.toString()
public DataCatalogSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.