@Generated(value="software.amazon.awssdk:codegen") public final class CreateUsageReportSubscriptionResponse extends AppStreamResponse implements ToCopyableBuilder<CreateUsageReportSubscriptionResponse.Builder,CreateUsageReportSubscriptionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateUsageReportSubscriptionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateUsageReportSubscriptionResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
s3BucketName()
The Amazon S3 bucket where generated reports are stored.
|
UsageReportSchedule |
schedule()
The schedule for generating usage reports.
|
String |
scheduleAsString()
The schedule for generating usage reports.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateUsageReportSubscriptionResponse.Builder> |
serializableBuilderClass() |
CreateUsageReportSubscriptionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String s3BucketName()
The Amazon S3 bucket where generated reports are stored.
If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, AppStream 2.0 created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, AppStream 2.0 uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, AppStream 2.0 creates a new S3 bucket.
If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, AppStream 2.0 created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, AppStream 2.0 uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, AppStream 2.0 creates a new S3 bucket.
public final UsageReportSchedule schedule()
The schedule for generating usage reports.
If the service returns an enum value that is not available in the current SDK version, schedule will
return UsageReportSchedule.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from scheduleAsString().
UsageReportSchedulepublic final String scheduleAsString()
The schedule for generating usage reports.
If the service returns an enum value that is not available in the current SDK version, schedule will
return UsageReportSchedule.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from scheduleAsString().
UsageReportSchedulepublic CreateUsageReportSubscriptionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateUsageReportSubscriptionResponse.Builder,CreateUsageReportSubscriptionResponse>toBuilder in class AwsResponsepublic static CreateUsageReportSubscriptionResponse.Builder builder()
public static Class<? extends CreateUsageReportSubscriptionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.