@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountFreeTrialInfo extends Object implements Serializable, Cloneable, StructuredPojo
Provides details of the GuardDuty member account that uses a free trial service.
Constructor and Description |
---|
AccountFreeTrialInfo() |
Modifier and Type | Method and Description |
---|---|
AccountFreeTrialInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account identifier of the GuardDuty member account.
|
DataSourcesFreeTrial |
getDataSources()
Deprecated.
|
List<FreeTrialFeatureConfigurationResult> |
getFeatures()
A list of features enabled for the GuardDuty account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The account identifier of the GuardDuty member account.
|
void |
setDataSources(DataSourcesFreeTrial dataSources)
Deprecated.
|
void |
setFeatures(Collection<FreeTrialFeatureConfigurationResult> features)
A list of features enabled for the GuardDuty account.
|
String |
toString()
Returns a string representation of this object.
|
AccountFreeTrialInfo |
withAccountId(String accountId)
The account identifier of the GuardDuty member account.
|
AccountFreeTrialInfo |
withDataSources(DataSourcesFreeTrial dataSources)
Deprecated.
|
AccountFreeTrialInfo |
withFeatures(Collection<FreeTrialFeatureConfigurationResult> features)
A list of features enabled for the GuardDuty account.
|
AccountFreeTrialInfo |
withFeatures(FreeTrialFeatureConfigurationResult... features)
A list of features enabled for the GuardDuty account.
|
public void setAccountId(String accountId)
The account identifier of the GuardDuty member account.
accountId
- The account identifier of the GuardDuty member account.public String getAccountId()
The account identifier of the GuardDuty member account.
public AccountFreeTrialInfo withAccountId(String accountId)
The account identifier of the GuardDuty member account.
accountId
- The account identifier of the GuardDuty member account.@Deprecated public void setDataSources(DataSourcesFreeTrial dataSources)
Describes the data source enabled for the GuardDuty member account.
dataSources
- Describes the data source enabled for the GuardDuty member account.@Deprecated public DataSourcesFreeTrial getDataSources()
Describes the data source enabled for the GuardDuty member account.
@Deprecated public AccountFreeTrialInfo withDataSources(DataSourcesFreeTrial dataSources)
Describes the data source enabled for the GuardDuty member account.
dataSources
- Describes the data source enabled for the GuardDuty member account.public List<FreeTrialFeatureConfigurationResult> getFeatures()
A list of features enabled for the GuardDuty account.
public void setFeatures(Collection<FreeTrialFeatureConfigurationResult> features)
A list of features enabled for the GuardDuty account.
features
- A list of features enabled for the GuardDuty account.public AccountFreeTrialInfo withFeatures(FreeTrialFeatureConfigurationResult... features)
A list of features enabled for the GuardDuty account.
NOTE: This method appends the values to the existing list (if any). Use
setFeatures(java.util.Collection)
or withFeatures(java.util.Collection)
if you want to override
the existing values.
features
- A list of features enabled for the GuardDuty account.public AccountFreeTrialInfo withFeatures(Collection<FreeTrialFeatureConfigurationResult> features)
A list of features enabled for the GuardDuty account.
features
- A list of features enabled for the GuardDuty account.public String toString()
toString
in class Object
Object.toString()
public AccountFreeTrialInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.