@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudTrailProperties extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about CloudTrail access.
Constructor and Description |
---|
CloudTrailProperties() |
Modifier and Type | Method and Description |
---|---|
CloudTrailProperties |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events.
|
Date |
getStartTime()
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events.
|
List<TrailProperties> |
getTrailProperties()
A
TrailProperties object that contains settings for trail properties. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events.
|
void |
setStartTime(Date startTime)
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events.
|
void |
setTrailProperties(Collection<TrailProperties> trailProperties)
A
TrailProperties object that contains settings for trail properties. |
String |
toString()
Returns a string representation of this object.
|
CloudTrailProperties |
withEndTime(Date endTime)
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events.
|
CloudTrailProperties |
withStartTime(Date startTime)
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events.
|
CloudTrailProperties |
withTrailProperties(Collection<TrailProperties> trailProperties)
A
TrailProperties object that contains settings for trail properties. |
CloudTrailProperties |
withTrailProperties(TrailProperties... trailProperties)
A
TrailProperties object that contains settings for trail properties. |
public void setEndTime(Date endTime)
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
endTime
- The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a
timestamp after this time are not considered to generate a policy. If this is not included in the request,
the default value is the current time.public Date getEndTime()
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
public CloudTrailProperties withEndTime(Date endTime)
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
endTime
- The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a
timestamp after this time are not considered to generate a policy. If this is not included in the request,
the default value is the current time.public void setStartTime(Date startTime)
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
startTime
- The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a
timestamp before this time are not considered to generate a policy.public Date getStartTime()
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
public CloudTrailProperties withStartTime(Date startTime)
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
startTime
- The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a
timestamp before this time are not considered to generate a policy.public List<TrailProperties> getTrailProperties()
A TrailProperties
object that contains settings for trail properties.
TrailProperties
object that contains settings for trail properties.public void setTrailProperties(Collection<TrailProperties> trailProperties)
A TrailProperties
object that contains settings for trail properties.
trailProperties
- A TrailProperties
object that contains settings for trail properties.public CloudTrailProperties withTrailProperties(TrailProperties... trailProperties)
A TrailProperties
object that contains settings for trail properties.
NOTE: This method appends the values to the existing list (if any). Use
setTrailProperties(java.util.Collection)
or withTrailProperties(java.util.Collection)
if you
want to override the existing values.
trailProperties
- A TrailProperties
object that contains settings for trail properties.public CloudTrailProperties withTrailProperties(Collection<TrailProperties> trailProperties)
A TrailProperties
object that contains settings for trail properties.
trailProperties
- A TrailProperties
object that contains settings for trail properties.public String toString()
toString
in class Object
Object.toString()
public CloudTrailProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.