@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyGroup extends Object implements Serializable, Cloneable
A key group.
A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies.
Constructor and Description |
---|
KeyGroup() |
Modifier and Type | Method and Description |
---|---|
KeyGroup |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The identifier for the key group.
|
KeyGroupConfig |
getKeyGroupConfig()
The key group configuration.
|
Date |
getLastModifiedTime()
The date and time when the key group was last modified.
|
int |
hashCode() |
void |
setId(String id)
The identifier for the key group.
|
void |
setKeyGroupConfig(KeyGroupConfig keyGroupConfig)
The key group configuration.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time when the key group was last modified.
|
String |
toString()
Returns a string representation of this object.
|
KeyGroup |
withId(String id)
The identifier for the key group.
|
KeyGroup |
withKeyGroupConfig(KeyGroupConfig keyGroupConfig)
The key group configuration.
|
KeyGroup |
withLastModifiedTime(Date lastModifiedTime)
The date and time when the key group was last modified.
|
public void setId(String id)
The identifier for the key group.
id
- The identifier for the key group.public String getId()
The identifier for the key group.
public KeyGroup withId(String id)
The identifier for the key group.
id
- The identifier for the key group.public void setLastModifiedTime(Date lastModifiedTime)
The date and time when the key group was last modified.
lastModifiedTime
- The date and time when the key group was last modified.public Date getLastModifiedTime()
The date and time when the key group was last modified.
public KeyGroup withLastModifiedTime(Date lastModifiedTime)
The date and time when the key group was last modified.
lastModifiedTime
- The date and time when the key group was last modified.public void setKeyGroupConfig(KeyGroupConfig keyGroupConfig)
The key group configuration.
keyGroupConfig
- The key group configuration.public KeyGroupConfig getKeyGroupConfig()
The key group configuration.
public KeyGroup withKeyGroupConfig(KeyGroupConfig keyGroupConfig)
The key group configuration.
keyGroupConfig
- The key group configuration.public String toString()
toString
in class Object
Object.toString()