@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessPreview extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an access preview.
Constructor and Description |
---|
AccessPreview() |
Modifier and Type | Method and Description |
---|---|
AccessPreview |
addConfigurationsEntry(String key,
Configuration value)
Add a single Configurations entry
|
AccessPreview |
clearConfigurationsEntries()
Removes all the entries added into Configurations.
|
AccessPreview |
clone() |
boolean |
equals(Object obj) |
String |
getAnalyzerArn()
The ARN of the analyzer used to generate the access preview.
|
Map<String,Configuration> |
getConfigurations()
A map of resource ARNs for the proposed resource configuration.
|
Date |
getCreatedAt()
The time at which the access preview was created.
|
String |
getId()
The unique ID for the access preview.
|
String |
getStatus()
The status of the access preview.
|
AccessPreviewStatusReason |
getStatusReason()
Provides more details about the current status of the access preview.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnalyzerArn(String analyzerArn)
The ARN of the analyzer used to generate the access preview.
|
void |
setConfigurations(Map<String,Configuration> configurations)
A map of resource ARNs for the proposed resource configuration.
|
void |
setCreatedAt(Date createdAt)
The time at which the access preview was created.
|
void |
setId(String id)
The unique ID for the access preview.
|
void |
setStatus(String status)
The status of the access preview.
|
void |
setStatusReason(AccessPreviewStatusReason statusReason)
Provides more details about the current status of the access preview.
|
String |
toString()
Returns a string representation of this object.
|
AccessPreview |
withAnalyzerArn(String analyzerArn)
The ARN of the analyzer used to generate the access preview.
|
AccessPreview |
withConfigurations(Map<String,Configuration> configurations)
A map of resource ARNs for the proposed resource configuration.
|
AccessPreview |
withCreatedAt(Date createdAt)
The time at which the access preview was created.
|
AccessPreview |
withId(String id)
The unique ID for the access preview.
|
AccessPreview |
withStatus(AccessPreviewStatus status)
The status of the access preview.
|
AccessPreview |
withStatus(String status)
The status of the access preview.
|
AccessPreview |
withStatusReason(AccessPreviewStatusReason statusReason)
Provides more details about the current status of the access preview.
|
public void setId(String id)
The unique ID for the access preview.
id
- The unique ID for the access preview.public String getId()
The unique ID for the access preview.
public AccessPreview withId(String id)
The unique ID for the access preview.
id
- The unique ID for the access preview.public void setAnalyzerArn(String analyzerArn)
The ARN of the analyzer used to generate the access preview.
analyzerArn
- The ARN of the analyzer used to generate the access preview.public String getAnalyzerArn()
The ARN of the analyzer used to generate the access preview.
public AccessPreview withAnalyzerArn(String analyzerArn)
The ARN of the analyzer used to generate the access preview.
analyzerArn
- The ARN of the analyzer used to generate the access preview.public Map<String,Configuration> getConfigurations()
A map of resource ARNs for the proposed resource configuration.
public void setConfigurations(Map<String,Configuration> configurations)
A map of resource ARNs for the proposed resource configuration.
configurations
- A map of resource ARNs for the proposed resource configuration.public AccessPreview withConfigurations(Map<String,Configuration> configurations)
A map of resource ARNs for the proposed resource configuration.
configurations
- A map of resource ARNs for the proposed resource configuration.public AccessPreview addConfigurationsEntry(String key, Configuration value)
public AccessPreview clearConfigurationsEntries()
public void setCreatedAt(Date createdAt)
The time at which the access preview was created.
createdAt
- The time at which the access preview was created.public Date getCreatedAt()
The time at which the access preview was created.
public AccessPreview withCreatedAt(Date createdAt)
The time at which the access preview was created.
createdAt
- The time at which the access preview was created.public void setStatus(String status)
The status of the access preview.
Creating
- The access preview creation is in progress.
Completed
- The access preview is complete. You can preview findings for external access to the
resource.
Failed
- The access preview creation has failed.
status
- The status of the access preview.
Creating
- The access preview creation is in progress.
Completed
- The access preview is complete. You can preview findings for external access to
the resource.
Failed
- The access preview creation has failed.
AccessPreviewStatus
public String getStatus()
The status of the access preview.
Creating
- The access preview creation is in progress.
Completed
- The access preview is complete. You can preview findings for external access to the
resource.
Failed
- The access preview creation has failed.
Creating
- The access preview creation is in progress.
Completed
- The access preview is complete. You can preview findings for external access to
the resource.
Failed
- The access preview creation has failed.
AccessPreviewStatus
public AccessPreview withStatus(String status)
The status of the access preview.
Creating
- The access preview creation is in progress.
Completed
- The access preview is complete. You can preview findings for external access to the
resource.
Failed
- The access preview creation has failed.
status
- The status of the access preview.
Creating
- The access preview creation is in progress.
Completed
- The access preview is complete. You can preview findings for external access to
the resource.
Failed
- The access preview creation has failed.
AccessPreviewStatus
public AccessPreview withStatus(AccessPreviewStatus status)
The status of the access preview.
Creating
- The access preview creation is in progress.
Completed
- The access preview is complete. You can preview findings for external access to the
resource.
Failed
- The access preview creation has failed.
status
- The status of the access preview.
Creating
- The access preview creation is in progress.
Completed
- The access preview is complete. You can preview findings for external access to
the resource.
Failed
- The access preview creation has failed.
AccessPreviewStatus
public void setStatusReason(AccessPreviewStatusReason statusReason)
Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure
can be due to an internal issue with the analysis or due to an invalid resource configuration.
statusReason
- Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This
failure can be due to an internal issue with the analysis or due to an invalid resource configuration.
public AccessPreviewStatusReason getStatusReason()
Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure
can be due to an internal issue with the analysis or due to an invalid resource configuration.
For example, if the creation of the access preview fails, a Failed
status is returned. This
failure can be due to an internal issue with the analysis or due to an invalid resource configuration.
public AccessPreview withStatusReason(AccessPreviewStatusReason statusReason)
Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This failure
can be due to an internal issue with the analysis or due to an invalid resource configuration.
statusReason
- Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed
status is returned. This
failure can be due to an internal issue with the analysis or due to an invalid resource configuration.
public String toString()
toString
in class Object
Object.toString()
public AccessPreview clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.