@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStorageLensConfigurationEntry extends Object implements Serializable, Cloneable
Part of ListStorageLensConfigurationResult
. Each entry includes the description of the S3 Storage Lens
configuration, its home Region, whether it is enabled, its Amazon Resource Name (ARN), and config ID.
Constructor and Description |
---|
ListStorageLensConfigurationEntry() |
Modifier and Type | Method and Description |
---|---|
ListStorageLensConfigurationEntry |
clone() |
boolean |
equals(Object obj) |
String |
getHomeRegion()
A container for the S3 Storage Lens home Region.
|
String |
getId()
A container for the S3 Storage Lens configuration ID.
|
Boolean |
getIsEnabled()
A container for whether the S3 Storage Lens configuration is enabled.
|
String |
getStorageLensArn()
The ARN of the S3 Storage Lens configuration.
|
int |
hashCode() |
Boolean |
isEnabled()
A container for whether the S3 Storage Lens configuration is enabled.
|
void |
setHomeRegion(String homeRegion)
A container for the S3 Storage Lens home Region.
|
void |
setId(String id)
A container for the S3 Storage Lens configuration ID.
|
void |
setIsEnabled(Boolean isEnabled)
A container for whether the S3 Storage Lens configuration is enabled.
|
void |
setStorageLensArn(String storageLensArn)
The ARN of the S3 Storage Lens configuration.
|
String |
toString()
Returns a string representation of this object.
|
ListStorageLensConfigurationEntry |
withHomeRegion(String homeRegion)
A container for the S3 Storage Lens home Region.
|
ListStorageLensConfigurationEntry |
withId(String id)
A container for the S3 Storage Lens configuration ID.
|
ListStorageLensConfigurationEntry |
withIsEnabled(Boolean isEnabled)
A container for whether the S3 Storage Lens configuration is enabled.
|
ListStorageLensConfigurationEntry |
withStorageLensArn(String storageLensArn)
The ARN of the S3 Storage Lens configuration.
|
public void setId(String id)
A container for the S3 Storage Lens configuration ID.
id
- A container for the S3 Storage Lens configuration ID.public String getId()
A container for the S3 Storage Lens configuration ID.
public ListStorageLensConfigurationEntry withId(String id)
A container for the S3 Storage Lens configuration ID.
id
- A container for the S3 Storage Lens configuration ID.public void setStorageLensArn(String storageLensArn)
The ARN of the S3 Storage Lens configuration. This property is read-only.
storageLensArn
- The ARN of the S3 Storage Lens configuration. This property is read-only.public String getStorageLensArn()
The ARN of the S3 Storage Lens configuration. This property is read-only.
public ListStorageLensConfigurationEntry withStorageLensArn(String storageLensArn)
The ARN of the S3 Storage Lens configuration. This property is read-only.
storageLensArn
- The ARN of the S3 Storage Lens configuration. This property is read-only.public void setHomeRegion(String homeRegion)
A container for the S3 Storage Lens home Region. Your metrics data is stored and retained in your designated S3 Storage Lens home Region.
homeRegion
- A container for the S3 Storage Lens home Region. Your metrics data is stored and retained in your
designated S3 Storage Lens home Region.public String getHomeRegion()
A container for the S3 Storage Lens home Region. Your metrics data is stored and retained in your designated S3 Storage Lens home Region.
public ListStorageLensConfigurationEntry withHomeRegion(String homeRegion)
A container for the S3 Storage Lens home Region. Your metrics data is stored and retained in your designated S3 Storage Lens home Region.
homeRegion
- A container for the S3 Storage Lens home Region. Your metrics data is stored and retained in your
designated S3 Storage Lens home Region.public void setIsEnabled(Boolean isEnabled)
A container for whether the S3 Storage Lens configuration is enabled. This property is required.
isEnabled
- A container for whether the S3 Storage Lens configuration is enabled. This property is required.public Boolean getIsEnabled()
A container for whether the S3 Storage Lens configuration is enabled. This property is required.
public ListStorageLensConfigurationEntry withIsEnabled(Boolean isEnabled)
A container for whether the S3 Storage Lens configuration is enabled. This property is required.
isEnabled
- A container for whether the S3 Storage Lens configuration is enabled. This property is required.public Boolean isEnabled()
A container for whether the S3 Storage Lens configuration is enabled. This property is required.
public String toString()
toString
in class Object
Object.toString()
public ListStorageLensConfigurationEntry clone()