Class AssessmentFrameworkShareRequest
- java.lang.Object
-
- software.amazon.awssdk.services.auditmanager.model.AssessmentFrameworkShareRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssessmentFrameworkShareRequest.Builder,AssessmentFrameworkShareRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssessmentFrameworkShareRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssessmentFrameworkShareRequest.Builder,AssessmentFrameworkShareRequest>
Represents a share request for a custom framework in Audit Manager.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssessmentFrameworkShareRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssessmentFrameworkShareRequest.Builderbuilder()Stringcomment()An optional comment from the sender about the share request.StringcomplianceType()The compliance type that the shared custom framework supports, such as CIS or HIPAA.InstantcreationTime()The time when the share request was created.IntegercustomControlsCount()The number of custom controls that are part of the shared custom framework.StringdestinationAccount()The Amazon Web Services account of the recipient.StringdestinationRegion()The Amazon Web Services Region of the recipient.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpirationTime()The time when the share request expires.StringframeworkDescription()The description of the shared custom framework.StringframeworkId()The unique identifier for the shared custom framework.StringframeworkName()The name of the custom framework that the share request is for.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier for the share request.InstantlastUpdated()Specifies when the share request was last updated.List<SdkField<?>>sdkFields()static Class<? extends AssessmentFrameworkShareRequest.Builder>serializableBuilderClass()StringsourceAccount()The Amazon Web Services account of the sender.IntegerstandardControlsCount()The number of standard controls that are part of the shared custom framework.ShareRequestStatusstatus()The status of the share request.StringstatusAsString()The status of the share request.AssessmentFrameworkShareRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The unique identifier for the share request.
- Returns:
- The unique identifier for the share request.
-
frameworkId
public final String frameworkId()
The unique identifier for the shared custom framework.
- Returns:
- The unique identifier for the shared custom framework.
-
frameworkName
public final String frameworkName()
The name of the custom framework that the share request is for.
- Returns:
- The name of the custom framework that the share request is for.
-
frameworkDescription
public final String frameworkDescription()
The description of the shared custom framework.
- Returns:
- The description of the shared custom framework.
-
status
public final ShareRequestStatus status()
The status of the share request.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnShareRequestStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the share request.
- See Also:
ShareRequestStatus
-
statusAsString
public final String statusAsString()
The status of the share request.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnShareRequestStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the share request.
- See Also:
ShareRequestStatus
-
sourceAccount
public final String sourceAccount()
The Amazon Web Services account of the sender.
- Returns:
- The Amazon Web Services account of the sender.
-
destinationAccount
public final String destinationAccount()
The Amazon Web Services account of the recipient.
- Returns:
- The Amazon Web Services account of the recipient.
-
destinationRegion
public final String destinationRegion()
The Amazon Web Services Region of the recipient.
- Returns:
- The Amazon Web Services Region of the recipient.
-
expirationTime
public final Instant expirationTime()
The time when the share request expires.
- Returns:
- The time when the share request expires.
-
creationTime
public final Instant creationTime()
The time when the share request was created.
- Returns:
- The time when the share request was created.
-
lastUpdated
public final Instant lastUpdated()
Specifies when the share request was last updated.
- Returns:
- Specifies when the share request was last updated.
-
comment
public final String comment()
An optional comment from the sender about the share request.
- Returns:
- An optional comment from the sender about the share request.
-
standardControlsCount
public final Integer standardControlsCount()
The number of standard controls that are part of the shared custom framework.
- Returns:
- The number of standard controls that are part of the shared custom framework.
-
customControlsCount
public final Integer customControlsCount()
The number of custom controls that are part of the shared custom framework.
- Returns:
- The number of custom controls that are part of the shared custom framework.
-
complianceType
public final String complianceType()
The compliance type that the shared custom framework supports, such as CIS or HIPAA.
- Returns:
- The compliance type that the shared custom framework supports, such as CIS or HIPAA.
-
toBuilder
public AssessmentFrameworkShareRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssessmentFrameworkShareRequest.Builder,AssessmentFrameworkShareRequest>
-
builder
public static AssessmentFrameworkShareRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssessmentFrameworkShareRequest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-