@Generated(value="software.amazon.awssdk:codegen") public final class ReportSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReportSetting.Builder,ReportSetting>
Contains detailed information about a report setting.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReportSetting.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
accounts()
These are the accounts to be included in the report.
|
static ReportSetting.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
frameworkArns()
The Amazon Resource Names (ARNs) of the frameworks a report covers.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccounts()
For responses, this returns true if the service returned a value for the Accounts property.
|
boolean |
hasFrameworkArns()
For responses, this returns true if the service returned a value for the FrameworkArns property.
|
int |
hashCode() |
boolean |
hasOrganizationUnits()
For responses, this returns true if the service returned a value for the OrganizationUnits property.
|
boolean |
hasRegions()
For responses, this returns true if the service returned a value for the Regions property.
|
Integer |
numberOfFrameworks()
The number of frameworks a report covers.
|
List<String> |
organizationUnits()
These are the Organizational Units to be included in the report.
|
List<String> |
regions()
These are the Regions to be included in the report.
|
String |
reportTemplate()
Identifies the report template for the report.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReportSetting.Builder> |
serializableBuilderClass() |
ReportSetting.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String reportTemplate()
Identifies the report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
public final boolean hasFrameworkArns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> frameworkArns()
The Amazon Resource Names (ARNs) of the frameworks a report covers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFrameworkArns() method.
public final Integer numberOfFrameworks()
The number of frameworks a report covers.
public final boolean hasAccounts()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> accounts()
These are the accounts to be included in the report.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAccounts() method.
public final boolean hasOrganizationUnits()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> organizationUnits()
These are the Organizational Units to be included in the report.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOrganizationUnits() method.
public final boolean hasRegions()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> regions()
These are the Regions to be included in the report.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRegions() method.
public ReportSetting.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReportSetting.Builder,ReportSetting>public static ReportSetting.Builder builder()
public static Class<? extends ReportSetting.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.